<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">


<html>
<head>
	<title>Monitor and Manage Services on Remote Machines - CodeProject</title> 
	<link type="text/css" rel="stylesheet" href="http://s.codeproject.com/App_Themes/Std/Css/CodeProject.min.css?dt=2.5.120528.1">

	
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> 

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="Description" content="Display status on services on several remote machines; one click start/restart, view logs;; Author: rusevd; Updated: 8 May 2009; Section: C#; Chapter: Languages; Updated: 8 May 2009" />
<meta name="Keywords" content=".NET2.0, C#, .NET, Visual-Studio, Dev, Intermediate,C#,Languages,Free source code, tutorials" />
<meta name="Author" content="rusevd" />
<meta name="Rating" content="General" />
<meta name="Robots" content="index, follow, NOODP" />
<meta name="Revisit-After" content="1 days" />
<meta name="application-name" content="The Code Project" />

<meta name="msapplication-navbutton-color" content="#FF9900" />
<meta name="msapplication-tooltip" content="Your Development Resource." />
<meta name="msapplication-starturl" content="http://www.codeproject.com/?pinned=true" />
<meta name="msapplication-task" content="name=Homepage;action-uri=http://www.codeproject.com/;icon-uri=http://www.codeproject.com/favico.ico" />
<meta name="msapplication-task" content="name=Latest Articles;action-uri=http://www.codeproject.com/script/articles/Latest.aspx;icon-uri=http://www.codeproject.com/favico.ico" />
<meta name="msapplication-task" content="name=Questions and Answers;action-uri=http://www.codeproject.com/script/Answers/;icon-uri=http://www.codeproject.com/favico.ico" />
<meta name="msapplication-task" content="name=The Lounge;action-uri=http://www.codeproject.com/Lounge.aspx;icon-uri=http://www.codeproject.com/favico.ico" />

<link rel="dns-prefetch" href="//ajax.googleapis.com" /> 
<link rel="canonical" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines" />


<link rel="alternate" type="application/rss+xml" title="CodeProject Latest articles - All Topics" href="http://www.codeproject.com/WebServices/ArticleRSS.aspx?cat=1" />
<link rel="alternate" type="application/rss+xml" title="CodeProject Latest articles - MFC/C++" href="http://www.codeproject.com/WebServices/ArticleRSS.aspx?cat=2" />
<link rel="alternate" type="application/rss+xml" title="CodeProject Latest articles - C#" href="http://www.codeproject.com/WebServices/ArticleRSS.aspx?cat=3" />
<link rel="alternate" type="application/rss+xml" title="CodeProject Latest articles - VB.NET" href="http://www.codeproject.com/WebServices/ArticleRSS.aspx?cat=6" />
<link rel="alternate" type="application/rss+xml" title="CodeProject Latest articles - Mobile" href="http://www.codeproject.com/WebServices/ArticleRSS.aspx?cat=18" />
<link rel="alternate" type="application/rss+xml" title="CodeProject Latest articles - ASP.NET" href="http://www.codeproject.com/WebServices/ArticleRSS.aspx?cat=4" />
<link rel="alternate" type="application/rss+xml" title="CodeProject Lounge Postings" href="http://www.codeproject.com/webservices/LoungeRSS.aspx" />
<link rel="search" type="application/opensearchdescription+xml" title="CodeProject" href="http://www.codeproject.com/info/OpenSearch.xml" />

	<base target="_top" />
	<link rel="icon" href="/favicon.ico" type="image/ico" >
<link rel="shortcut icon" href="/favicon.ico"  type="image/ico" >
<link rel="apple-touch-icon" href="/images/FavIcon-Apple.png" type="image/png" >
<script type="text/javascript" language="Javascript">//<![CDATA[
if(top!=self && !/https?:\/\/([a-zA-Z]+\.)?facebook.com\//gi.test(top.location.href))top.location.href=location.href; if(typeof(DemoUrl)!='undefined')document.write(unescape('%3Cme')+'ta http'+'-equiv="re'+'fresh" con'+'tent="1;url='+DemoUrl+unescape('"%3CE'));
function SelfCheck(){ return window.confirm("You are about to reply to your own message. Is this really what you want?");}
function FireNew(elm) { window.location=$(elm).find('a')[0].href;}

function MsgVFrm(MemberID,MsgID,GB,gp,bp,mt){
 if(!GB)document.write("Rate this message: ");
 document.write(unescape("%3Ca href=\"#xx" + MsgID.toString() + "xx\" onclick=\"RateMsg(" + MemberID.toString() + ", " + MsgID.toString() + ","));document.write((GB?"5":"1")+unescape(",0);\"%3E"));
 if(GB) document.write(unescape("%3Cimg height=\"20\" width=\"20\" src=\"/script/Forums/Images/good.png\" alt=\"good\" border=\"0\" align=\"absmiddle\" /%3E "+gp+" "+mt+"%3C/a%3E "));
 else document.write(unescape("%3Cimg height=\"14px\" width=\"14px\" src=\"http://s.codeproject.com/script/Forums/Images/thumbs_down.gif\" alt=\"vote 1\" border=\"0\" align=\"middle\" /%3E%3C/a%3E "));
 if(GB)document.write(" &nbsp;"); else for(var i=1; i<=5;i++)
  document.write(unescape("%3Ca class=\"toolbar nav-link\" href=\"#xx" + MsgID.toString() + "xx\" title=\"vote this message a " + i.toString() + "\" onclick=\"RateMsg(" + MemberID.toString() + ", " + MsgID.toString() + ", " + i.toString() + ",0)\"%3E%3Cb%3E" + i.toString() + "%3C/b%3E%3C/a%3E "));
 document.write(unescape("%3Ca href=\"#xx" + MsgID.toString() + "xx\" onclick=\"RateMsg(" + MemberID.toString() + ", " + MsgID.toString() + ","));document.write((GB?"1":"5")+unescape(",0);\"%3E"));
 if(GB)document.write(unescape("%3Cimg height=\"20\" width=\"20\" src=\"/script/Forums/Images/bad.png\" alt=\"bad\" border=\"0\" align=\"absmiddle\" /%3E "+bp+" "+mt+"%3C/a%3E"));
 else document.write(unescape("%3Cimg height=\"14px\" width=\"14px\" src=\"http://s.codeproject.com/script/Forums/Images/thumbs_up.gif\" border=\"0\" alt=\"vote 5\" align=\"middle\" /%3E%3C/a%3E "));
}

function ReportMsg(userid, msgid, score) {
 if (confirm("Are you sure you want this message removed?"))
  return RateMsg(userid, msgid, score, 0);
 else return false;
}
function RateMsg(memberid, msgid, score, questionId) {
 var req = new XMLHttpRequest();
 req.onreadystatechange = function() {
  if (req.readyState == 4){
   if (req.status == 200){
    var respText = req.responseText;
    var re = new RegExp(unescape("\%3Cdiv\%3E(.*)\%3C/div\%3E"), "g");
    var match = re.exec(respText);
    voteStatus.innerHTML = unescape("%3Cb%3E") + (match&&match.length>1&&match[1])?match[1]:"An error occurred" + unescape("%3C/b%3E");
   } else
    voteStatus.innerHTML = unescape("%3Cb style='color:red'%3EFailed!") + req.statusText + unescape("%3C/b%3E");
  }
 }
 var voteStatus = document.getElementById("MVF" + msgid);
 if (!voteStatus) return;
 voteStatus.innerHTML = unescape("%3Cb style='color:green'%3EVoting...%3C/b%3E");
 var strAction = "/script/Forums/Vote.aspx?js=1&fmid="+memberid.toString()+"&select="+msgid.toString()+"&score="+score.toString()+"&qid="+questionId.toString();
 req.open("GET", strAction, true);
 req.send(null);
  return false;
}
var smoothScroll = true;
var Selected = "-1";
var oldTitle = document.title;
function Pin(elm){
 CloseMsg(Selected);
 Selected=''
 var wrk=elm.parentNode; if(wrk)wrk=wrk.children[0];
 var fc=elm?elm.firstChild:null;
 if (wrk&&!wrk.pinned) {
  OpenMsg(wrk.name, true);wrk.pinned=true;fc.src='http://s.codeproject.com/script/forums/images/pinned.gif';fc.title='Pinned. Click to unpin'
 } else {
  wrk.pinned=false;CloseMsg(wrk.name); fc.src='http://s.codeproject.com/script/forums/images/pin.gif';fc.title='Click to pin message'
 }
 return false;
}
function CloseMsg(msgId) {
 if(!msgId||msgId==''||msgId<0)return;
 var lnk=document.getElementsByName(msgId);
 if(lnk&&lnk.length>0&&lnk[0].pinned)return;
 var hed=document.getElementById('F' + msgId.toString() + '_h0');
 if(hed) hed.className = hed.className.replace("Sel", "UnSel");
 var bdy=document.getElementById('F' + msgId.toString() + '_h1');
 if(bdy) bdy.style.display = 'none';
 if(oldTitle) document.title = oldTitle;
}
function OpenMsg(msgId, keep) {
 if(!msgId||msgId==''||msgId<0)return;
 var bdy=document.getElementById('F' + msgId.toString() + '_h1');
 if(bdy){
  var lnk=document.getElementsByName(msgId);
  if(lnk&&lnk.length>0&&lnk[0].pinned)keep=true;
  if(lnk&&lnk.length>0) { oldTitle=document.title; document.title = lnk[0].innerHTML + ' - CodeProject'; }
  if(keep&&bdy.style.display!='none')return;
  if(bdy.style.display=='none') bdy.style.display='';
  else bdy.style.display = 'none';
 }
 var hed=document.getElementById('F' + msgId.toString() + '_h0');
 if (hed) hed.className = hed.className.replace('UnSel', 'Sel');
 if(bdy&&hed&&bdy.style.display!='none'){
  var webkitWeird=document.documentElement.scrollTop < document.body.scrollTop;
  if (!webkitWeird)document.body.scrollTop = getRealPos(hed, 'Top') - document.body.clientHeight/10;
  EnsureMessageVisible(msgId, true);
 }
}
function EnsureMessageVisible(msgID, bShowTop) {
	var webkitWeird = document.documentElement.scrollTop < document.body.scrollTop;
	var msgHeader = document.getElementById('F' + msgID + '_h0');
	var msgBody = document.getElementById('F' + msgID + '_h1');
	if (!msgBody || !msgHeader) return;
	var scrollContainer = document.documentElement;
	var top = getRealPos(msgHeader, 'Top');
	var bottom = getRealPos(msgBody, 'Top') + msgBody.offsetHeight;
	var scrollTop = webkitWeird? scrollTop = document.body.scrollTop:document.documentElement.scrollTop;
	if (scrollTop > top && !bShowTop) scrollTop = top - scrollContainer.clientHeight / 10;
	if (scrollTop + scrollContainer.clientHeight < bottom) scrollTop = bottom - scrollContainer.clientHeight;
	if (scrollTop > top && bShowTop) scrollTop = top - scrollContainer.clientHeight / 10;
 if (smoothScroll){
  if (webkitWeird) $(document.body).stop().animate({'scrollTop' : scrollTop}, 'fast');
  else $(scrollContainer).stop().animate({'scrollTop' : scrollTop}, 'fast');
 } else {
  if (webkitWeird) document.body.scrollTop = scrollTop;
  else scrollContainer.scrollTop = scrollTop;
 }
}
function getRealPos(i,which) {
	iPos = 0;
	while (i!=null)  {
		iPos += i['offset' + which];
		i = i.offsetParent;
	}
	return iPos;
}
var switchCallback;
function SwitchMessage(e, msgId) {
  if (msgId) msgId=msgId.toString();
  else {
    if(!e)e=window.event;
    var target=e.target?e.target:e.srcElement;
    while(target&&target.className!='message-link')target=target.parentNode;
    if(!target||target.className!='message-link')return;
    if(target.pinned){/*Selected='';*/return false;}
    msgId=target.name;
  }
  CloseMsg(Selected)
  if(Selected==msgId) Selected='';
  else { OpenMsg(msgId, false); Selected=msgId;}
  if (e){if(e.preventDefault)e.preventDefault;else e.returnValue=false;}
    if(switchCallback)switchCallback(null, msgId)
  return false;
}


//]]>
</script>

	
<script type="text/javascript">
  var _comscore = _comscore || [];
  _comscore.push({ c1: "2", c2: "13507173" });
  (function() {
	var s = document.createElement("script"), el = document.getElementsByTagName("script")[0]; s.async = true;
	s.src = (document.location.protocol == "https:" ? "https://sb" : "http://b") + ".scorecardresearch.com/beacon.js";
	el.parentNode.insertBefore(s, el);
  })();
</script>
<noscript>
  <img src="http://b.scorecardresearch.com/p?c1=2&c2=13507173&cv=2.0&cj=1" id="ctl00_Auditing_ComScore" />
</noscript>



<script type="text/javascript">
	var _gaq = _gaq || [];
	_gaq.push(['_setAccount', 'UA-1735123-1']);
	_gaq.push(['_trackPageview']);
	_gaq.push(['_setDomainName', 'www.codeproject.com']);
	_gaq.push(['_setSessionTimeout', '1200']); 

	(function () {
		var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
		ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
		(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(ga);
	})(); 
</script>


</head>	

<body class="chrome chrome12">




<a href="#Main"><img alt="Click here to Skip to main content" class="access-link" src="/Images/t.gif" /></a>


<div class="page-background">
	<div id="A" class="container-content">

		
		<div id="ctl00_Suggest" class="suggestions">
		
<div class="alert-bar " style="display: none;">
	<a href="#" class="close-notify">×</a>
	<div><b>Not quite what you are looking for? You may want to try:</b><ul class="see-also"><li><a href="/KB/cs/ServiceController.aspx?q=ServiceControl">A ServiceController Class that Contains the Path to the Executable</a></li><li><a href="/KB/system/Svc_Controller_in_C_Sharp.aspx?q=ServiceControl">Using the ServiceController in C# to stop and start a service</a></li></ul><div id="removeHilite" class="alert-bar-command">
<a href="#" onclick="unmarkText('contentdiv','removeHilite')">highlights off</a>
</div>
</div>
</div>
		</div>

		

		
		

<div class="container nav-memberbar clearfix">
	<div class="member-stats float-left">8,874,771 members and growing! (52,860 online)</div>
	<div class="float-left"></div>

	<div class="float-right">
		&nbsp;&nbsp;
	</div>

	<div class="float-right">
		

<span class="tooltip member-message">
	<img src="/images/envelope11.gif" width="11px" height="11px" 
		style="vertical-align:bottom;padding-bottom:3px"/>
	<div class="tooltip-flyout small-text">
		
		<div id="ctl00_MemberMenu_Messages_Confirm"><a id="ctl00_MemberMenu_Messages_EmailConfirm" href="/script/Membership/SendConfirmRequest.aspx?rp=%2fArticles%2f36268%2fMonitor-and-Manage-Services-on-Remote-Machines">Your email address needs to be confirmed.</a></div>
	</div>
</span><span id="ctl00_MemberMenu_CurRat" class="tooltip">
				<a id="ctl00_MemberMenu_MyProfile" href="/script/Membership/View.aspx?mid=8126139">quwenchao</a><img src="/Images/arrow-down-16.png" 
					style="width:16px;height:16px;vertical-align:bottom" />
				<div class="tooltip-flyout" style="width:110px !important">
					<div><a id="ctl00_MemberMenu_MySettingsNonSSL" href="http://www.codeproject.com/script/Membership/Modify.aspx">My Settings</a></div>
					<div><a id="ctl00_MemberMenu_MySettings" href="https://www.codeproject.com/script/Membership/Modify.aspx"><img src="/images/secure.png" width="13px" height="14px"  style="vertical-align:middle;border:0">My Settings (SSL)</a></div>
					<div><a id="ctl00_MemberMenu_MyContacts" href="/script/Membership/ListContacts.aspx">My Contact info</a></div>
					<div><a id="ctl00_MemberMenu_MyBookmarks" href="/script/Bookmarks/List.aspx?obtid=2">My Bookmarks</a></div>
					
					<div><a id="ctl00_MemberMenu_MyCodeProject" href="/script/Membership/MyWatchedItems.aspx">My Watched Items</a></div>
					<div><a id="ctl00_MemberMenu_MyArticles" href="/script/Articles/MemberArticles.aspx?amid=8126139">My Articles</a></div>
					<div><a id="ctl00_MemberMenu_MyMessages" href="/script/Forums/Messages.aspx?fmid=8126139">My Messages</a></div>
					<div><a id="ctl00_MemberMenu_MyQuestions" href="/script/Answers/MemberPosts.aspx?tab=questions&amp;mid=8126139&amp;showall=True">My Questions</a></div>
					<div><a id="ctl00_MemberMenu_MyAnswers" href="/script/Answers/MemberPosts.aspx?tab=answers&amp;mid=8126139&amp;showall=True">My Answers</a></div>
					<div><a id="ctl00_MemberMenu_MyComments" href="/script/comments/MemberComments.aspx?mid=8126139">My Comments</a></div>
					
				</div>
			</span><span id="ctl00_MemberMenu_TotalPoints" title="Total reputation points 965" class="member-rep-box silver" style="margin-left:0"><a href="/script/Reputation/List.aspx?mid=8126139">965</a></span>
			&nbsp;
			<a id="ctl00_MemberMenu_Signout" href="/script/Membership/LogOff.aspx?rp=%2fArticles%2f36268%2fMonitor-and-Manage-Services-on-Remote-Machines">Sign out</a>

		
	</div>
</div>
		

		
		<table width="100%" cellspacing="0" cellpadding="0" border="0">
		<tr>
			<td class="page-header"><a href="/"><img id="ctl00_Logo" title="The Code Project" src="http://s.codeproject.com/App_Themes/Std/Img/logo225x90.gif" alt="Home" style="border-width:0px;" /></a></td>
			<td class="page-header" align="right">
				<div class="lqm_ad" lqm_publisher="lqm.codeproject.site"  lqm_zone="ros" lqm_format="728x90" lqm_tags='.NET2.0, C#, .NET, Visual-Studio, Dev, Intermediate,rating4.5'></div>
			</td>
		</tr></table>

		<table cellpadding="0" cellspacing="0" class="contrast1-background extended"><tr><td nowrap="nowrap">
			

<div class="navbar clearfix">
<ul id="nav" class="openable">

<li><a id="ctl00_TopNavBar_Home" class="down" href="http://www.codeproject.com">Home</a>


<li><a id="ctl00_TopNavBar_Art" class="down selected" href="/script/Articles/Latest.aspx">Articles</a>

	<ul class="openable">
		<li><a id="ctl00_TopNavBar_ArtTopicList" class="fly last" onmouseover="navBarMenu.ShowMap(this, &#39;siteMap&#39;);" href="/script/Content/SiteMap.aspx">Chapters and Sections<span class="fly-menu">&gt;</span></a><ul id="ctl00_TopNavBar_MapFlyout" class="openable"><li>
				<div id="siteMap" class="tooltip-flyout">
					<img src="/images/animated.gif" style="margin:150px;width:100px;height:100px;" />
				</div>
			</li></ul>
		</li>
		<li><a id="ctl00_TopNavBar_ArtSearch" class="fly break" href="/search.aspx">Search</a></li>
		<li><a id="ctl00_TopNavBar_ArtLatestArts" class="fly" href="/script/Articles/Latest.aspx?at=1,3,7">Latest Articles</a></li>
		<li><a id="ctl00_TopNavBar_ArtLatestTips" class="fly" href="/script/Articles/Latest.aspx?at=6">Latest Tips/Tricks</a></li>
		<li><a id="ctl00_TopNavBar_ArtTop" class="fly" href="/script/Articles/TopArticles.aspx?ta_so=5">Top Articles</a></li>
		<li><a id="ctl00_TopNavBar_ArtBeginner" class="fly" href="/search.aspx?aidlst=152&amp;sa_us=True">Beginner Articles</a></li>
		<li id="ctl00_TopNavBar_VideosLink">
			<a id="ctl00_TopNavBar_ArtVideoArticles" class="fly" href="/script/Articles/VideoArticleList.aspx">Video Articles</a>
		</li>
		<li><a id="ctl00_TopNavBar_ArtBlogArticles" class="fly break" href="/script/Articles/BlogArticleList.aspx">Technical Blogs</a></li>
		<li><a id="ctl00_TopNavBar_ArtPostArticle" class="fly" href="/script/Articles/Submit.aspx">Submit an Article or Tip</a></li>
		<li><a id="ctl00_TopNavBar_ArtPostBlog" class="fly break" href="/script/Articles/BlogFeed.aspx">Post your Blog</a></li>
		<li><a id="ctl00_TopNavBar_ArtGuide" class="fly" href="/info/Submit.aspx">Posting/Update Guidelines</a></li>
		<li><a id="ctl00_TopNavBar_ArtCompetition" class="fly last" href="/script/Awards/CurrentCompetitions.aspx?cmpTpId=1">Article Competition</a></li>
	</ul>

</li>



<li><a id="ctl00_TopNavBar_Answers" href="/script/Answers/List.aspx?tab=active">Quick Answers</a>
	<ul class="openable">
		<li id="ctl00_TopNavBar_AQL"><a id="ctl00_TopNavBar_ArticleQuestion" class="fly highlight" href="#_comments">Ask a Question about this article</a></li>

		<li><a id="ctl00_TopNavBar_QAAsk" class="fly" href="/Questions/ask.aspx">Ask a Question</a></li>

		
		<li><a id="ctl00_TopNavBar_QAUnanswered" class="fly" href="/script/Answers/List.aspx?tab=unanswered">View Unanswered Questions</a></li>
		<li><a id="ctl00_TopNavBar_QALatest" class="fly" href="/script/Answers/List.aspx?tab=active">View All Questions...</a></li>
		
				<li><a id="ctl00_TopNavBar_QATR_ctl00_Tag" class="fly" href="/script/Answers/List.aspx?tab=active&amp;alltags=true&amp;tags=81" style="padding-left:30px">C# questions</a></li>
			
				<li><a id="ctl00_TopNavBar_QATR_ctl01_Tag" class="fly" href="/script/Answers/List.aspx?tab=active&amp;alltags=true&amp;tags=85" style="padding-left:30px">ASP.NET questions</a></li>
			
				<li><a id="ctl00_TopNavBar_QATR_ctl02_Tag" class="fly" href="/script/Answers/List.aspx?tab=active&amp;alltags=true&amp;tags=842" style="padding-left:30px">VB.NET questions</a></li>
			
				<li><a id="ctl00_TopNavBar_QATR_ctl03_Tag" class="fly" href="/script/Answers/List.aspx?tab=active&amp;alltags=true&amp;tags=78" style="padding-left:30px">C++ questions</a></li>
			
				<li><a id="ctl00_TopNavBar_QATR_ctl04_Tag" class="fly" href="/script/Answers/List.aspx?tab=active&amp;alltags=true&amp;tags=308" style="padding-left:30px">C#4.0 questions</a></li>
			
	</ul>

</li>



<li><a id="ctl00_TopNavBar_Forums" href="/script/Forums/List.aspx">Discussions</a>

	<ul class="openable">
		<li><a id="ctl00_TopNavBar_MessageBoardsAll" class="fly" href="/script/Forums/List.aspx">All Message Boards...</a></li>
		<li><a class="fly" style="padding-left:30px" href="/Forums/1580997/Application-Lifecycle.aspx">Application Lifecycle<span class="fly-menu">&gt;</span></a>
<ul class="openable"><li><a class="fly" href="/Forums/1533717/Running-a-Business.aspx">Running a Business</a></li>
<li><a class="fly" href="/Forums/1533716/Sales-Marketing.aspx">Sales / Marketing</a></li>
<li><a class="fly" href="/Forums/1651/Collaboration-Beta-Testing.aspx">Collaboration / Beta Testing</a></li>
<li><a class="fly" href="/Forums/3304/Work-Training-Issues.aspx">Work &amp; Training Issues</a></li>
</ul></li>
<li><a class="fly" style="padding-left:30px" href="/Forums/369270/Design-and-Architecture.aspx">Design and Architecture</a>
</li>
<li><a class="fly" style="padding-left:30px" href="/Forums/12076/ASP-NET.aspx">ASP.NET</a>
</li>
<li><a class="fly" style="padding-left:30px" href="/Forums/1580226/JavaScript.aspx">JavaScript</a>
</li>
<li><a class="fly" style="padding-left:30px" href="/Forums/1647/C-Cplusplus-MFC.aspx">C / C++ / MFC<span class="fly-menu">&gt;</span></a>
<ul class="openable"><li><a class="fly" href="/Forums/4486/ATL-WTL-STL.aspx">ATL /  WTL / STL</a></li>
<li><a class="fly" href="/Forums/3785/Managed-Cplusplus-CLI.aspx">Managed C++/CLI</a></li>
</ul></li>
<li><a class="fly" style="padding-left:30px" href="/Forums/1649/Csharp.aspx">C#</a>
</li>
<li><a class="fly" style="padding-left:30px" href="/Forums/1627782/Free-Tools.aspx">Free Tools</a>
</li>
<li><a class="fly" style="padding-left:30px" href="/Forums/1725/Database.aspx">Database</a>
</li>
<li><a class="fly" style="padding-left:30px" href="/Forums/186301/Hardware-Devices.aspx">Hardware &amp; Devices<span class="fly-menu">&gt;</span></a>
<ul class="openable"><li><a class="fly" href="/Forums/1644/System-Admin.aspx">System Admin</a></li>
</ul></li>
<li><a class="fly" style="padding-left:30px" href="/Forums/1606152/Hosting-and-Servers.aspx">Hosting and Servers</a>
</li>
<li><a class="fly" style="padding-left:30px" href="/Forums/1643/Java.aspx">Java</a>
</li>
<li><a class="fly" style="padding-left:30px" href="/Forums/1650/NET-Framework.aspx">.NET Framework</a>
</li>
<li><a class="fly" style="padding-left:30px" href="/Forums/13695/Mobile.aspx">Mobile</a>
</li>
<li><a class="fly" style="padding-left:30px" href="/Forums/1653293/VS-11-NET-4-5.aspx">VS 11 &amp; .NET 4.5</a>
</li>
<li><a class="fly" style="padding-left:30px" href="/Forums/1540733/Sharepoint.aspx">Sharepoint</a>
</li>
<li><a class="fly" style="padding-left:30px" href="/Forums/1004257/Silverlight-WPF.aspx">Silverlight / WPF</a>
</li>
<li><a class="fly" style="padding-left:30px" href="/Forums/1646/Visual-Basic.aspx">Visual Basic</a>
</li>
<li><a class="fly" style="padding-left:30px" href="/Forums/1640/Web-Development.aspx">Web Development</a>
</li>
<li><a class="fly" style="padding-left:30px" href="/Forums/1645/Site-Bugs-Suggestions.aspx">Site Bugs / Suggestions</a>
</li>

		<li class="heading">Other Languages<span class="fly-menu">&gt;</span>
		<ul class="openable">
		<li><a class="fly" href="/Forums/1580229/Hindi.aspx">General Indian Topics</a></li>
		<li><a class="fly" href="/Forums/1580230/Chinese.aspx">General Chinese Topics</a></li>
		</ul>
		</li>
		
	</ul>

</li>

<li><a id="ctl00_TopNavBar_Zones" href="/Zones/index.aspx">Zones</a>

	<ul class="openable">
		<!--<li class="heading">Zones</li>-->
		<li><a href="/Zones/Commerce/" class="fly">The Commerce Zone</a></li><li><a href="/Zones/Mobile/" class="fly">The Mobile & App Zone</a></li><li><a href="/Zones/Cloud/" class="fly">The Cloud Zone</a></li><li><a href="/Zones/Hardware/" class="fly">The Hardware Zone</a></li><li><a href="/Zones/Parallelism/" class="fly">The Parallelism Zone</a></li><li><a href="/Zones/WPF-Silverlight/" class="fly">The WPF / Silverlight Zone</a></li><li><a href="/Zones/Flex-Flash/" class="fly">The Flex / Flash Zone</a></li><li><a href="/Zones/HTML-CSS/" class="fly">The HTML5 / CSS3 Zone</a></li><li><a href="/Zones/SharePoint/" class="fly">SharePoint Zone</a></li><li><a href="/Zones/SqlServer/" class="fly">The SQL Zone</a></li><li><a href="/Zones/WhitePapers/" class="fly break">WhitePapers / Webcasts</a></li>
		<li><a id="ctl00_TopNavBar_Solutions" class="fly last" href="/KB/solution-center/">Solutions Center</a></li>
	</ul>

</li>










<li><a id="ctl00_TopNavBar_Features" href="/Feature/">Features</a>

	<ul class="openable">
		<li><a id="ctl00_TopNavBar_WhosWho" class="fly" href="/script/Membership/Profiles.aspx">Who's Who</a></li>
		<li><a id="ctl00_TopNavBar_MVPs" class="fly" href="/script/Awards/MVPWinners.aspx">Most Valuable Professionals</a></li>
		<li><a id="ctl00_TopNavBar_Companies" class="fly break" href="/script/Membership/Profiles.aspx?mgtid=1&amp;mgm=True">Company Listings</a></li>
		<li><a id="ctl00_TopNavBar_Catalog" class="fly" href="/script/Catalog/List.aspx">Component & Service Catalog</a></li>
		<li><a id="ctl00_TopNavBar_Comps" class="fly" href="/script/Awards/CurrentCompetitions.aspx?cmpTpId=1&amp;awsac=true">Competitions</a></li>
		<li><a id="ctl00_TopNavBar_News" class="fly" href="/script/News/List.aspx">News</a></li>
		<li></li>
		<li><a id="ctl00_TopNavBar_Insider" class="fly" href="/Feature/Insider/">The Insider Newsletter</a></li>
		<li><a id="ctl00_TopNavBar_Newsletters" class="fly" href="/script/Mailouts/Archive.aspx?mtpid=1">Newsletter archive</a></li>
		<li><a id="ctl00_TopNavBar_PressRelease" class="fly" href="/script/PressReleases/Preview.aspx">Press Releases</a></li>
		<li><a id="ctl00_TopNavBar_Surveys" class="fly" href="/script/Surveys/List.aspx">Surveys</a></li>
		<li><a id="ctl00_TopNavBar_Stuff" class="fly last" href="/Info/Stuff.aspx">CodeProject Stuff</a></li>
		<li></li>
	</ul>

</li>


<li><a id="ctl00_TopNavBar_Help" href="/KB/FAQs/">Help!</a>

	<ul class="openable">
		<li><a id="ctl00_TopNavBar_HelpWhatIs" class="fly" href="/info/guide.aspx">What is 'The Code Project'?</a></li>
		<li><a id="ctl00_TopNavBar_HelpGeneral" class="fly" href="/KB/FAQs/">General FAQ</a></li>
		<li><a id="ctl00_TopNavBar_HelpPostQuestion" class="fly" href="/Questions/ask.aspx">Post a Question</a></li>
		<li><a id="ctl00_TopNavBar_HelpBugs" class="fly" href="/Forums/1645/Site-Bugs-Suggestions.aspx">Bugs and Suggestions</a></li>
		<li><a id="ctl00_TopNavBar_HelpSiteMap" class="fly" href="/script/Content/SiteMap.aspx">Site Map</a></li>
		<li><a id="ctl00_TopNavBar_HelpAdvertise" class="fly" href="http://lakequincy.com/">Advertise with us</a></li>
		<li><a id="ctl00_TopNavBar_HelpAboutUs" class="fly last" href="/info/about.aspx">About Us</a></li>
	</ul>

</li>


<li style="margin-left:10px">
<a id="ctl00_TopNavBar_Lounge" class="simple" href="/Lounge.aspx">The Lounge</a>

	<ul class="openable">
		<li><a id="ctl00_TopNavBar_InsiderLnk" class="fly" href="/Insider.aspx">The Insider News</a></li>
		<li><a id="ctl00_TopNavBar_LoungeLnk" class="fly" href="/Lounge.aspx">The Lounge  </a></li>
		<li><a id="ctl00_TopNavBar_CleverLnk" class="fly" href="/Feature/CleverCode.aspx">Clever Code</a></li>
		<li><a id="ctl00_TopNavBar_ShameLnk" class="fly" href="/Feature/HallOfShame.aspx">Hall of Shame</a></li>
		<li><a id="ctl00_TopNavBar_SoapBoxLnk" class="fly" href="/Forums/1536756/The-Soapbox.aspx">The Soapbox</a></li>
	</ul>

</li>

</ul>

</div>

		</td><td align="right">
			

<div class="search-bar">

<form method="get" action="/search.aspx" name="Search" class="tight">


<table border="0" cellspacing="0" cellpadding="0" class="search"><tr><td><input TabIndex="2" class="search highlight" id="sb_tb" value="ServiceControl" name="q" /></td><td><input type="image" src="/images/search.gif" /></td></tr></table>

<div class="hover-container">
	<div id="SearchFilter" class="search-advanced popup small-text align-left">
	<b>Search within:<br /></b>
		
		<input type="radio" id="sb_kw" name="sbo" value="kw" checked="true"><label for="sb_kw">Articles</label><br>
<input type="radio" id="sb_qa" name="sbo" value="qa"><label for="sb_qa">Quick Answers</label><br>
<input type="radio" id="sb_fm" name="sbo" value="fm"><label for="sb_fm">Messages</label><br>
<input type="radio" id="sb_ctlk" name="sbo" value="ctlk"><label for="sb_ctlk">Product Catalog</label><br>


		
		
	</div>
</div>
</form>

</div>
		</td></tr></table>
		

		
		<div class="container-article hreview-aggregate"> 
		
			
			<div class="container-header">
				<div id="ctl00_Header" class="header">

					<a name="Main"></a>

					
					<a name="_articleTop" id="_articleTop"></a>
					

<div class="clearfix hover-container">

	
	<div class="float-right action-links"> 
		<span id="SBI"><img src="http://s.codeproject.com/images/share_drop24.png" id="ctl00_TitleArea_ActionLinks_AddTo_Img" width="37" height="24" alt="add" style="vertical-align:middle" />
</span>
<div id="ATD" class="list-socialbookmark"></div> 
 

<span class="tooltip">
	<a id="ctl00_TitleArea_ActionLinks_ArticleBmk_ImgBt" title="Bookmark" AlternateText="Bookmark" name="bm_36268_2" onclick="return bookmarkMe(36268,2,&#39;/script/Bookmarks/Ajax/Add.aspx?obid=36268&amp;obtid=2&amp;action=AddBookmark&amp;bio=true&#39;,true);" href="/script/Bookmarks/Add.aspx?obid=36268&amp;obtid=2&amp;action=AddBookmark&amp;bio=true" style="display:inline-block;height:24px;width:24px;vertical-align:middle;"><img title="Bookmark" src="http://s.codeproject.com/script/Bookmarks/Images/bookmark.png" alt="" style="border-width:0px;" /></a>


<span id="ctl00_TitleArea_ActionLinks_ArticleBmk_StatusMsg" class="tiny-text" style="display:none" name="bm_36268_2"></span>
 
	<div class="speech-bubble-container-up">
		<div class="speech-bubble-up">Add to your CodeProject bookmarks</div>
		<div class="speech-bubble-pointer-up">
			<div class="speech-bubble-pointer-up-inner"></div>
		</div>
	</div>
</span>


<a id="ctl00_TitleArea_ActionLinks_PrintLnk" class="tooltip" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?display=Print">
	<img src="http://s.codeproject.com/script/Content/Images/print.gif" 
		width="24px" height="24px" style="vertical-align:middle;border:0">
	<div class="speech-bubble-container-up">
		<div class="speech-bubble-up">Print Article</div>
		<div class="speech-bubble-pointer-up">
			<div class="speech-bubble-pointer-up-inner"></div>
		</div>
	</div>
</a>
	</div>

	<div class="container">
		
		<div class="breadcrumb float-left"><a href="/script/Content/SiteMap.aspx"><span class="sitemap-anchor" onmouseover="navBarMenu.ShowMap(this,'map');"><img width="16px" height="16px" src="/images/sitemap16.png" border="0" alt="Site map" style="vertical-align:middle" /><div id="map" class="tooltip-flyout"><img src="/images/animated.gif" style="margin:150px;width:100px;height:100px;border:0;" /></div></span></a> &#187; <a href="/Chapters/5/Languages.aspx">Languages</a> &#187; <a href="/KB/cs/">C#</a> &#187; <a href="/KB/cs/#Applications">Applications</a></div>
	</div>

	
	<div id="ctl00_TitleArea_InfoArea" class="float-right pad-top">
		

<div class="infobox">
	<table class="tight small-text" cellpadding="0" cellspacing="1">
	<tr><td>Licence&nbsp;</td><td><a href="http://www.codeproject.com/info/cpol10.aspx" title="The Code Project Open License (CPOL)">CPOL</a></td></tr>
	
	<tr><td>First Posted&nbsp;</td><td nowrap="nowrap"><b>8 May 2009</b></td></tr>
	<tr><td>Views&nbsp;</td><td><b>25,927</b></td></tr>
	
	<tr><td>Downloads&nbsp;</td><td><b>1,533</b></td></tr>
		
	
	<tr><td>Bookmarked&nbsp;</td><td><b>67 times</b></td></tr>
	

	
	
	</table>
</div>	
	</div>

	
	<div class="item">
	<h1 id="ctl00_TitleArea_ArticleTitle" class="fn">Monitor and Manage Services on Remote Machines</h1> 
	</div>

	
	<div class="author">
		By <b><a rel="author" href="/script/Membership/View.aspx?mid=4515995">rusevd</a></b> | 
		8 May 2009 
		
		| <a id="ctl00_TitleArea_ArticleInfoLink" href="/script/Articles/Types.aspx?#Article">Article</a>

		
		
	</div>
	
	<div class="tags">
	<span id="ctl00_TitleArea_TagsList_TagWrp" class="tags">
	
	
	
	<span id="ctl00_TitleArea_TagsList_VisibleTags"><span class="t"><a rel="tag" href="/Tags/.NET2.0">.NET2.0</a></span><span class="t"><a rel="tag" href="/Tags/C%23">C#</a></span><span class="t"><a rel="tag" href="/Tags/.NET">.NET</a></span><span class="t"><a rel="tag" href="/Tags/Visual-Studio">Visual-Studio</a></span><span class="t"><a rel="tag" href="/Tags/Dev">Dev</a></span><span class="t"><a rel="tag" href="/Tags/Intermediate">Intermediate</a></span></span> 

	
	
</span>

	</div>

	
	<div class="abstract summary"><span id="ctl00_TitleArea_ArticleDescr">Display status on services on several remote machines; one click start/restart, view logs;</span></div>
</div>



					

				</div>

				<div id="ctl00_HeadSide" class="header-sidebar">
					<div class="align-left" style="height:24px">
						


&nbsp;










					</div>

					

<div class="bold pad-top">See Also</div>
<ul class="outdent small-text" style="margin-left:5px">
	<li><a id="ctl00_SeeAlso_LikeThis" href="/search.aspx?q=Monitor++Manage+Services+on+Remote+Machines">More like this</a></li>
	<li><a id="ctl00_SeeAlso_ByAuthor" href="/script/Articles/MemberArticles.aspx?amid=4515995">More by this author</a></li>
</ul>

				</div>

			</div>
			

			
			<div id="ctl00_Nav" class="container-nav">
				<div id="ctl00_TabContainer" class="tabs-container clearfix">

					<div class="float-left">
						
						

<div class="tabs float-left"><table cellpadding="0" cellspacing="0"><tr>
	<td class="tab-selected">Article</td><td class="tab-unselected"><a href="/script/Articles/ViewDownloads.aspx?aid=36268">Browse Code</a></td><td class="tab-unselected"><a href="/script/Articles/Statistics.aspx?aid=36268">Stats</a></td><td class="tab-unselected"><a href="/script/Articles/ListVersions.aspx?aid=36268">Revisions (7)</a></td><td class="tab-unselected"><a href="/script/Articles/ListAlternatives.aspx?aid=36268">Alternatives</a></td>
</tr></table></div>	


						
						<div class="float-left" style="margin-left:15px">
							<div id="ctl00_CurRat" class="tooltip anchorLink" style="cursor:pointer" onclick="scrollToAnchor(&#39;#_rating&#39;);" name="CurRat_36268">
								

<table cellpadding="0" cellspacing="0" class="small-text">
<tr>
	
	<td class="nowrap">

		<span id="ctl00_ArticleRating_VI">
		<div class="nowrap rating-stars" style="height:24px;width:120px;position:relative;">
	<div class="clipped align-left float-left" style="height:24px;width:108px;">
		<img src="http://s.codeproject.com/script/Ratings/Images/stars-fill.png" style="border-width:0px;" />
	</div><div class="clipped" style="height:24px;width:12px;position:relative;">
		<img src="http://s.codeproject.com/script/Ratings/Images/stars-empty.png" style="border-width:0px;position:absolute;top:0;right:0;" />
	</div>
</div>
		</span>

		
	</td>
	
	<td id="ctl00_ArticleRating_VR" class="nowrap">
		&nbsp;
		<span id="ctl00_ArticleRating_VotesR">&nbsp;<span class="rating">4.53</span> (<span class="count">10 votes</span>)</span>
		
	</td>

</tr>

</table>

								<div id="ctl00_RB" class="speech-bubble-container-up">
									<div class="speech-bubble-up" style="width:150px !important">
										            
<div>
<table class="feature" width="100%" height="50px" title="Voting Distribution. Recent data only" cellpadding="0" cellspacing="0"><tr><td class="chart-column"><img src="http://s.codeproject.com/Images/t.gif" width="20pxpx" height="1px" border="0px" alt="" title="" /><br /><span title="0 votes">1</span></td>
<td class="chart-column"><img src="http://s.codeproject.com/Images/t.gif" width="20pxpx" height="1px" border="0px" alt="" title="" /><br /><span title="0 votes">2</span></td>
<td class="chart-column"><img src="/script/Ratings/Images/pollcol.gif" width="20pxpx" height="8px" border="0px" alt="1 vote, 10.0%" title="1 vote, 10.0%" /><br /><span title="1 vote">3</span></td>
<td class="chart-column"><img src="/script/Ratings/Images/pollcol.gif" width="20pxpx" height="25px" border="0px" alt="3 votes, 30.0%" title="3 votes, 30.0%" /><br /><span title="3 votes">4</span></td>
<td class="chart-column"><img src="/script/Ratings/Images/pollcol.gif" width="20pxpx" height="50px" border="0px" alt="6 votes, 60.0%" title="6 votes, 60.0%" /><br /><span title="6 votes">5</span></td>
</tr></table><div class="small-text align-center">4.53/5 - 10 votes</div><div class="small-text align-center subdue">μ 4.53, σ<sub>a</sub> 1.27 [<a href="/KB/FAQs/RatingReputationFAQ.aspx#noisefilter">?</a>]</div>
</div>
									</div>
									<div class="speech-bubble-pointer-up">
										<div class="speech-bubble-pointer-up-inner"></div>
									</div>
								</div>
							</div>
						</div>

						<div class="float-left">
							&nbsp; 
							<a id="discussAnch" href="#_comments" class="tooltip anchorLink">
							<img src="http://s.codeproject.com/script/Content/Images/discuss.gif" 
								width="24px" height="24px" alt="Discuss" style="vertical-align:middle;border:0" />
								<div class="speech-bubble-container-up">
									<div class="speech-bubble-up">Discuss this article</div>
									<div class="speech-bubble-pointer-up">
										<div class="speech-bubble-pointer-up-inner"></div>
									</div>
								</div>
							</a>
							<span id="ctl00_CmtCnt" class="subdue small-text align-middle" style="margin-left:-4px">17</span>

							&nbsp; <span id="ctl00_ReportItem_StatusMsg" class="tiny-text" style="display:none"></span>


<span id="ctl00_ReportItem_CurRpt" class="tooltip">	
		<img id="ctl00_ReportItem_MenuImage" alt="report" src="http://s.codeproject.com/script/Content/Images/report.gif" style="border-width:0px;vertical-align:middle" />
		
		<div class="tooltip-flyout" style="width:220px !important" onmouseover="CheckForUndo(this);">
			<div id="ctl00_ReportItem_CommentDiv" class="small-text">
			<b>Comments?</b><br />
				<input name="ctl00$ReportItem$Comments" type="text" id="ctl00_ReportItem_Comments" class="report-comment" />
			</div>
			 
			
					<div id="ctl00_ReportItem_ReportingTypeHeaders_ctl00_Header" class="report-header">Report</div>
					
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl00_ReportingTypes_ctl00_Link" name="rpt_36268_2_1" onclick="return ReportMe(36268,2,1,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=1&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=1">Unclear or Incomplete</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl00_ReportingTypes_ctl01_Link" name="rpt_36268_2_10" onclick="return ReportMe(36268,2,10,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=10&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=10">Extremely poor quality</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl00_ReportingTypes_ctl02_Link" name="rpt_36268_2_4" onclick="return ReportMe(36268,2,4,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=4&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=4">Off-topic</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl00_ReportingTypes_ctl03_Link" name="rpt_36268_2_5" onclick="return ReportMe(36268,2,5,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=5&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=5">Spam/abusive</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl00_ReportingTypes_ctl04_Link" name="rpt_36268_2_11" onclick="return ReportMe(36268,2,11,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=11&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=11">Plagiarized</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl00_ReportingTypes_ctl05_Link" name="rpt_36268_2_12" onclick="return ReportMe(36268,2,12,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=12&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=12">Inaccurate / Misleading</a>
							</div>
						 
			   
					<div id="ctl00_ReportItem_ReportingTypeHeaders_ctl01_Header" class="report-header">Needs help</div>
					
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl01_ReportingTypes_ctl00_Link" name="rpt_36268_2_14" onclick="return ReportMe(36268,2,14,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=14&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=14">Format / layout issues</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl01_ReportingTypes_ctl01_Link" name="rpt_36268_2_15" onclick="return ReportMe(36268,2,15,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=15&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=15">Wrong section / tags</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl01_ReportingTypes_ctl02_Link" name="rpt_36268_2_16" onclick="return ReportMe(36268,2,16,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=16&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=16">Wrong type (tip, blog, article)</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl01_ReportingTypes_ctl03_Link" name="rpt_36268_2_17" onclick="return ReportMe(36268,2,17,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=17&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=17">Missing images/downloads</a>
							</div>
						 
							<div class="report-prompt nowrap">
								
								<a id="ctl00_ReportItem_ReportingTypeHeaders_ctl01_ReportingTypes_ctl04_Link" name="rpt_36268_2_18" onclick="return ReportMe(36268,2,18,&#39;/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=18&amp;ajax=True&#39;,false,&#39;ctl00_ReportItem_Comments&#39;);" href="/script/Content/Report.aspx?obtid=2&amp;obid=36268&amp;obstid=1&amp;ovid=7&amp;rid=18">Images/downloads are offsite</a>
							</div>
						 
			   

			<div class="Undo"></div>
		</div>
	</span>



							   
						</div>

					</div>

				</div>

				
			</div>
			

			
			<div class="container-text">

				<div id="AT" class="text">
					
					
					
					

						
							
			
					<div id="ctl00_confirmError" class="callout small-text" style="padding:10px;margin:20px;"><img style="float:left;margin-right:10px" 
					src="/images/warning_32.png" width="32px" height="32px" /><b>Is your email address OK?</b>
					You are signed up for our newsletters but your email address is either unconfirmed, or has not 
					been reconfirmed in a long time. Please click 
					<a id="ctl00_RequestConfirmLink2" href="/script/Membership/SendConfirmRequest.aspx?rp=%2fArticles%2f36268%2fMonitor-and-Manage-Services-on-Remote-Machines">here</a> to have a 
					confirmation email sent so we can confirm your email address and start sending you newsletters 
					again. Alternatively, you can 
					<a id="ctl00_SubscribeLink2" href="/script/Membership/Subscribe.aspx?rp=%2fArticles%2f36268%2fMonitor-and-Manage-Services-on-Remote-Machines">update your subscriptions</a>.</div><form name="aspnetForm" method="post" action="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines" id="aspnetForm" style="margin:0;padding:0">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMjExOTQzNjk4Mw9kFgJmD2QWAgIHD2QWCgIBDxYCHgdWaXNpYmxlZ2QCEQ9kFgICAQ9kFgZmDw8WAh4LTmF2aWdhdGVVcmwFMi9zY3JpcHQvQXJ0aWNsZXMvQWRtaW4vRWRpdG9yQ2hvaWNlLmFzcHg/YWlkPTM2MjY4ZGQCAg8PFgIfAQU4L3NjcmlwdC9Bd2FyZHMvQWRtaW4vQXdhcmRPYmplY3QuYXNweD9vYmlkPTM2MjY4Jm9idGlkPTJkZAIKDw8WAh8BBS8vc2NyaXB0L0FydGljbGVzL0FkbWluL1F1ZXVlRWRpdC5hc3B4P2FpZD0zNjI2OGRkAhMPZBYCAgEPZBYCAgIPFgIeCWlubmVyaHRtbAUCMTdkAhUPZBYCAgsPZBYIAgEPFgIfAGcWBAIBDw8WAh8BBXIvc2NyaXB0L01lbWJlcnNoaXAvU2VuZENvbmZpcm1SZXF1ZXN0LmFzcHg/cnA9JTJmQXJ0aWNsZXMlMmYzNjI2OCUyZk1vbml0b3ItYW5kLU1hbmFnZS1TZXJ2aWNlcy1vbi1SZW1vdGUtTWFjaGluZXNkZAIDDw8WAh8BBWkvc2NyaXB0L01lbWJlcnNoaXAvU3Vic2NyaWJlLmFzcHg/cnA9JTJmQXJ0aWNsZXMlMmYzNjI2OCUyZk1vbml0b3ItYW5kLU1hbmFnZS1TZXJ2aWNlcy1vbi1SZW1vdGUtTWFjaGluZXNkZAICDxYCHgZhY3Rpb24FPi9BcnRpY2xlcy8zNjI2OC9Nb25pdG9yLWFuZC1NYW5hZ2UtU2VydmljZXMtb24tUmVtb3RlLU1hY2hpbmVzFgoCAQ8PFgQfAQU2L3NjcmlwdC9BcnRpY2xlcy9TdWJtaXNzaW9uV2l6YXJkLmFzcHg/YXQ9MSZhcGlkPTM2MjY4HwBnZGQCAw9kFgICAQ8WAh8AaGQCBQ9kFgICAg9kFgICAQ8QZGQWAGQCCw8WAh4LXyFJdGVtQ291bnQCAWQCDQ9kFgICAQ8WAh4EVGV4dAV3PGEgY2xhc3M9ImFuY2hvckxpbmsiIGhyZWY9Ii9BcnRpY2xlcy8zNjI2OC9Nb25pdG9yLWFuZC1NYW5hZ2UtU2VydmljZXMtb24tUmVtb3RlLU1hY2hpbmVzI19hcnRpY2xlVG9wIj5BcnRpY2xlIFRvcDwvYT5kAgoPDxYEHwUFCVBlcm1hbGluax8BBT4vQXJ0aWNsZXMvMzYyNjgvTW9uaXRvci1hbmQtTWFuYWdlLVNlcnZpY2VzLW9uLVJlbW90ZS1NYWNoaW5lc2RkAhkPFgIfBQUYQ29weXJpZ2h0IDIwMDkgYnkgcnVzZXZkZAIXD2QWAgIFDw8WAh8AaGRkZIKzTs0xFJ+xkJHUJ6JwX1xcSkxj" />
</div>

<div>

	<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/wEWCQKH8O/1DgKi6fqQCgLAlMXDBwLBlMXDBwLClMXDBwLDlMXDBwLElMXDBwLP+++tCwK5upDkCwrxXrjvgKBd1TAIqUKnBtyV3Heb" />
</div>

						<a id="ctl00_AddAlternative" title="Write a related article about upgrades or translate this into a different language." class="button add-alternative float-right" href="/script/Articles/SubmissionWizard.aspx?at=1&amp;apid=36268">Add your own<br />alternative version</a>

						<!-- Article Text Start -->
						<div id="contentdiv">
						




<ul class="download">
<li><a href="/KB/cs/Service_Monitor_Central/SMC_ServicesMonitorCentral.zip">Download source -&nbsp;221.5 KB&nbsp;</a> </li>
</ul>
<a href="/KB/cs/Service_Monitor_Central/SMC.gif"><img height="459" alt="Click to enlarge image" hspace="0" src="/KB/cs/Service_Monitor_Central/SMC_small.gif" width="640" border="0" /> </a>
<h2>Introduction</h2>

<p>This article describes how you can make very good use of the <code>ServiceController</code> objects in .NET and easily create a simple application that monitors and manages Windows services across several machines. It is also an example for how powerful the <code>DagaGridView </code>control just might be. </p>

<h2>Background</h2>

<p>I've started developing this application strictly for my own purposes as I wanted to monitor several critical services on different servers at once and get alerted when either of these fails. Then I extended it a little bit and I think it can be a very useful tool. </p>

<h2>Using the Code</h2>

<p>The method <code>ListServices</code> has <code>machineName </code>and <code>serviceName </code>as parameters. It lists all the services on a specified machine with the given name pattern and then displays them in a <code>dataGridView </code>control. Each row is being manually created and shows the machine name, the service name, and the last two columns are buttons used to start or stop the service.&nbsp; </p>

<pre lang="cs"><span class="code-preprocessor">#region</span> [ ListServices ]
<span class="code-keyword">private</span> <span class="code-keyword">void</span> ListServices(<span class="code-keyword">string</span> machineName, <span class="code-keyword">string</span> serviceName)
{
    <span class="code-keyword">try</span>
    {
        dataGridView1.Rows.Clear();
        services = ServiceController.GetServices(machineName);
       
         <span class="code-keyword">foreach</span> (ServiceController sc <span class="code-keyword">in</span> services)
        {
            <span class="code-keyword">if</span> (sc.ServiceName.ToLower().Contains(serviceName.ToLower()))
            {
                DataGridViewRow row = <span class="code-keyword">new</span> DataGridViewRow();
                 <span class="code-preprocessor">#region</span> [ declare cells ]
                DataGridViewCell cell0 = <span class="code-keyword">new</span> DataGridViewTextBoxCell();
                DataGridViewCell cell1 = <span class="code-keyword">new</span> DataGridViewTextBoxCell();
                DataGridViewCell cell2 = <span class="code-keyword">new</span> DataGridViewImageCell(<span class="code-keyword">false</span>);
                DataGridViewCell cell3 = <span class="code-keyword">new</span> DataGridViewButtonCell();
                DataGridViewCell cell4 = <span class="code-keyword">new</span> DataGridViewButtonCell();
           
                <span class="code-preprocessor">#endregion</span>
                 <span class="code-preprocessor">#region</span> [ cell styles ]
                DataGridViewCellStyle styleServiceName = <span class="code-keyword">new</span> DataGridViewCellStyle();
                styleServiceName.Font = 
			<span class="code-keyword">new</span> Font(<span class="code-keyword">new</span> FontFamily(<span class="code-string">"</span><span class="code-string">Verdana"</span>), <span class="code-digit">10</span>.0F, FontStyle.Bold);
                styleServiceName.ForeColor = Color.Black;
                 DataGridViewCellStyle styleStarted = <span class="code-keyword">new</span> DataGridViewCellStyle();
                styleStarted.Font = 
			<span class="code-keyword">new</span> Font(<span class="code-keyword">new</span> FontFamily(<span class="code-string">"</span><span class="code-string">Verdana"</span>), <span class="code-digit">10</span>.0F, FontStyle.Bold);
                styleStarted.ForeColor = Color.Green;
                 DataGridViewCellStyle styleStopped = <span class="code-keyword">new</span> DataGridViewCellStyle();
                styleStopped.Font = 
			<span class="code-keyword">new</span> Font(<span class="code-keyword">new</span> FontFamily(<span class="code-string">"</span><span class="code-string">Verdana"</span>), <span class="code-digit">10</span>.0F, FontStyle.Bold);
                styleStopped.ForeColor = Color.Red;
                 DataGridViewCellStyle stylePending = <span class="code-keyword">new</span> DataGridViewCellStyle();
                stylePending.Font = 
			<span class="code-keyword">new</span> Font(<span class="code-keyword">new</span> FontFamily(<span class="code-string">"</span><span class="code-string">Verdana"</span>), <span class="code-digit">10</span>.0F, FontStyle.Bold);
                stylePending.ForeColor = Color.Yellow;
                 DataGridViewCellStyle styleStartButton = <span class="code-keyword">new</span> DataGridViewCellStyle();
                styleStartButton.Font = 
			<span class="code-keyword">new</span> Font(<span class="code-keyword">new</span> FontFamily(<span class="code-string">"</span><span class="code-string">Verdana"</span>),<span class="code-digit">9</span>.0F, FontStyle.Bold);
                styleStartButton.ForeColor = Color.White;
                styleStartButton.BackColor = Color.Green;
                 DataGridViewCellStyle styleStopButton = <span class="code-keyword">new</span> DataGridViewCellStyle();
                styleStopButton.Font = 
			<span class="code-keyword">new</span> Font(<span class="code-keyword">new</span> FontFamily(<span class="code-string">"</span><span class="code-string">Verdana"</span>), <span class="code-digit">9</span>.0F, FontStyle.Bold);
                styleStopButton.ForeColor = Color.White;
                styleStopButton.BackColor = Color.DarkRed;
                
                <span class="code-preprocessor">#endregion</span>
                 <span class="code-preprocessor">#region</span> [ <span class="code-keyword">set</span> cell values ]
                
                 cell0.Value = sc.ServiceName;
                cell0.Style = styleServiceName;
                 cell3.Value = <span class="code-string">"</span><span class="code-string">start"</span>;
                cell3.Style = styleStartButton;
                 cell4.Value = <span class="code-string">"</span><span class="code-string">stop"</span>;
                cell4.Style = styleStopButton;
               
                <span class="code-keyword">if</span> (sc.Status == ServiceControllerStatus.Running)
                {
                    cell1.Value = sc.Status.ToString();
                    cell1.Style = styleStarted;
                     cell2.Value = started;
                }
                <span class="code-keyword">else</span> <span class="code-keyword">if</span> (sc.Status == ServiceControllerStatus.Stopped)
                {
                    cell1.Value = sc.Status.ToString();
                    cell1.Style = styleStopped;
                     cell2.Value = stopped;
                }
                <span class="code-keyword">else</span> <span class="code-keyword">if</span> (sc.Status == ServiceControllerStatus.StartPending)
                {
                    cell1.Value = sc.Status.ToString();
                    cell1.Style = stylePending;
                     cell2.Value = pending;
                }
                <span class="code-keyword">else</span> <span class="code-keyword">if</span> (sc.Status == ServiceControllerStatus.StopPending)
                {
                    cell1.Value = sc.Status.ToString();
                    cell1.Style = stylePending;
                     cell2.Value = pending;
                }
                 <span class="code-preprocessor">#endregion</span>
                 <span class="code-preprocessor">#region</span> [ add cells ]
                 row.Cells.Add(cell0);
                row.Cells.Add(cell1);
                row.Cells.Add(cell2);
                row.Cells.Add(cell3);
                row.Cells.Add(cell4);                       
                 <span class="code-preprocessor">#endregion</span>
                 row.Height = <span class="code-digit">48</span>;
                 dataGridView1.Rows.Add(row);                       
                 <span class="code-keyword">this</span>.Text = <span class="code-string">"</span><span class="code-string">Smc Services Monitor Central 
				["</span> + machineName.ToUpper() + <span class="code-string">"</span><span class="code-string">]"</span>;
            }
            <span class="code-keyword">else</span> <span class="code-keyword">if</span> (serviceName.Trim().Length == <span class="code-digit">0</span>)
            {
                DataGridViewRow row = <span class="code-keyword">new</span> DataGridViewRow();
                 <span class="code-preprocessor">#region</span> [ declare cells ]
                DataGridViewCell cell0 = <span class="code-keyword">new</span> DataGridViewTextBoxCell();
                DataGridViewCell cell1 = <span class="code-keyword">new</span> DataGridViewTextBoxCell();
                DataGridViewCell cell2 = <span class="code-keyword">new</span> DataGridViewImageCell(<span class="code-keyword">false</span>);
                DataGridViewCell cell3 = <span class="code-keyword">new</span> DataGridViewButtonCell();
                DataGridViewCell cell4 = <span class="code-keyword">new</span> DataGridViewButtonCell();
                 <span class="code-preprocessor">#endregion</span>
                 <span class="code-preprocessor">#region</span> [ cell styles ]
                DataGridViewCellStyle styleServiceName = <span class="code-keyword">new</span> DataGridViewCellStyle();
                styleServiceName.Font = 
			<span class="code-keyword">new</span> Font(<span class="code-keyword">new</span> FontFamily(<span class="code-string">"</span><span class="code-string">Verdana"</span>), <span class="code-digit">10</span>.0F, FontStyle.Bold);
                styleServiceName.ForeColor = Color.Black;
                DataGridViewCellStyle styleStarted = <span class="code-keyword">new</span> DataGridViewCellStyle();
                styleStarted.Font = 
			<span class="code-keyword">new</span> Font(<span class="code-keyword">new</span> FontFamily(<span class="code-string">"</span><span class="code-string">Verdana"</span>), <span class="code-digit">10</span>.0F, FontStyle.Bold);
                styleStarted.ForeColor = Color.Green;
                 DataGridViewCellStyle styleStopped = <span class="code-keyword">new</span> DataGridViewCellStyle();
                styleStopped.Font = 
			<span class="code-keyword">new</span> Font(<span class="code-keyword">new</span> FontFamily(<span class="code-string">"</span><span class="code-string">Verdana"</span>), <span class="code-digit">10</span>.0F, FontStyle.Bold);
                styleStopped.ForeColor = Color.Red;
                 DataGridViewCellStyle stylePending = <span class="code-keyword">new</span> DataGridViewCellStyle();
                stylePending.Font = 
			<span class="code-keyword">new</span> Font(<span class="code-keyword">new</span> FontFamily(<span class="code-string">"</span><span class="code-string">Verdana"</span>), <span class="code-digit">10</span>.0F, FontStyle.Bold);
                stylePending.ForeColor = Color.Yellow;
                 DataGridViewCellStyle styleStartButton = <span class="code-keyword">new</span> DataGridViewCellStyle();
                styleStartButton.Font = 
			<span class="code-keyword">new</span> Font(<span class="code-keyword">new</span> FontFamily(<span class="code-string">"</span><span class="code-string">Verdana"</span>), <span class="code-digit">9</span>.0F, FontStyle.Bold);
                styleStartButton.ForeColor = Color.White;
                styleStartButton.BackColor = Color.Green;
                 DataGridViewCellStyle styleStopButton = <span class="code-keyword">new</span> DataGridViewCellStyle();
                styleStopButton.Font = 
			<span class="code-keyword">new</span> Font(<span class="code-keyword">new</span> FontFamily(<span class="code-string">"</span><span class="code-string">Verdana"</span>), <span class="code-digit">9</span>.0F, FontStyle.Bold);
                styleStopButton.ForeColor = Color.White;
                styleStopButton.BackColor = Color.DarkRed;
                 <span class="code-preprocessor">#endregion</span>
                 <span class="code-preprocessor">#region</span> [ <span class="code-keyword">set</span> cell values ]
                 cell0.Value = sc.ServiceName;
                cell0.Style = styleServiceName;
                 cell3.Value = <span class="code-string">"</span><span class="code-string">start"</span>;
                cell3.Style = styleStartButton;
                 cell4.Value = <span class="code-string">"</span><span class="code-string">stop"</span>;
                cell4.Style = styleStopButton;
                 <span class="code-keyword">if</span> (sc.Status == ServiceControllerStatus.Running)
                {
                    cell1.Value = sc.Status.ToString();
                    cell1.Style = styleStarted;
                     cell2.Value = started;
                }
                <span class="code-keyword">else</span> <span class="code-keyword">if</span> (sc.Status == ServiceControllerStatus.Stopped)
                {
                    cell1.Value = sc.Status.ToString();
                    cell1.Style = styleStopped;
                     cell2.Value = stopped;
                }
                <span class="code-keyword">else</span> <span class="code-keyword">if</span> (sc.Status == ServiceControllerStatus.StartPending)
                {
                    cell1.Value = sc.Status.ToString();
                    cell1.Style = stylePending;
                     cell2.Value = pending;
                }
                <span class="code-keyword">else</span> <span class="code-keyword">if</span> (sc.Status == ServiceControllerStatus.StopPending)
                {
                    cell1.Value = sc.Status.ToString();
                    cell1.Style = stylePending;
                     cell2.Value = pending;
                }
                 <span class="code-preprocessor">#endregion</span>
                 <span class="code-preprocessor">#region</span> [ add cells ]
                 row.Cells.Add(cell0);
                row.Cells.Add(cell1);
                row.Cells.Add(cell2);
                row.Cells.Add(cell3);
                row.Cells.Add(cell4);
                 <span class="code-preprocessor">#endregion</span>
                 row.Height = <span class="code-digit">48</span>;
                 dataGridView1.Rows.Add(row);
            }
        }                
    }
    <span class="code-keyword">catch</span> (Exception ex)
    {
        toolStripStatusLabel1.Text = ex.Message;
        Log(<span class="code-string">"</span><span class="code-string">ListServices(): "</span>, ex);
    }
}
<span class="code-preprocessor">#endregion</span> </pre>

<p>In the application, we basically have three <code>dataGridView</code> controls.&nbsp;The one filled with the <code>ListServices</code> method displays the filtered services on a machine. When a user double-clicks a row, the chosen service is being added to the second <code>gridView</code>, which holds the monitored services. It can contain services from various remote machines. If a service stops, it is then shown in the third <code>gridView</code>. You also get asked if you want to receive an email if a service stops execution and you can set an ‘auto’ option which if on automatically restarts the service.</p>

<p>As mentioned above, we store the monitored services in a <code>KeyValuePair&lt;ServiceController, bool&gt;</code> and then the <code>FillGrid2() </code>method displays them in the second <code>gridView</code>. This is done using the&nbsp;<code>CellDoubleClick </code>event of the <code>dataGridView1</code>. </p>

<pre lang="cs"><span class="code-preprocessor">#region</span> [ dataGridView1_CellDoubleClick ]
<span class="code-keyword">private</span> <span class="code-keyword">void</span> dataGridView1_CellDoubleClick(<span class="code-keyword">object</span> sender, DataGridViewCellEventArgs e)
{
    <span class="code-keyword">try</span>
    {
        <span class="code-comment">//</span><span class="code-comment"> we say we can monitor up to 10 services 
</span>        <span class="code-comment">//</span><span class="code-comment"> (for interface issues; else window gets too big)
</span>        <span class="code-keyword">if</span> (index &lt; <span class="code-digit">10</span>)
        {
             <span class="code-comment">//</span><span class="code-comment"> we check if the service already exists in our list
</span>            <span class="code-keyword">foreach</span> (KeyValuePair&lt;ServiceController, <span class="code-keyword">bool</span>&gt; kv <span class="code-keyword">in</span> monitoredServs)
            {
                <span class="code-keyword">if</span> (kv.Key != <span class="code-keyword">null</span>)
                {
                    <span class="code-keyword">if</span> (kv.Key.ServiceName == dataGridView1.Rows
			[e.RowIndex].Cells[<span class="code-digit">0</span>].Value.ToString() &amp;&amp; 
			kv.Key.MachineName == textBoxMachineName.Text)
                    {
                        toolStripStatusLabel1.Text = <span class="code-string">"</span><span class="code-string">Service already in list!"</span>;
                        <span class="code-keyword">return</span>;
                    }
                }
            }
            <span class="code-comment">//</span><span class="code-comment"> we create a new ServiceController with the 
</span>	   <span class="code-comment">//</span><span class="code-comment"> passed information from the clicked row
</span>            ServiceController s = <span class="code-keyword">new</span> ServiceController(dataGridView1.Rows
        		[e.RowIndex].Cells[<span class="code-digit">0</span>].Value.ToString(), textBoxMachineName.Text);
            <span class="code-comment">//</span><span class="code-comment"> we create a new KeyValuePair&lt;ServiceController, bool&gt; 
</span>	   <span class="code-comment">//</span><span class="code-comment"> with the created ServiceController and a Boolean variable controlling 
</span>	   <span class="code-comment">//</span><span class="code-comment"> whether we receive an email when the service stops
</span>            KeyValuePair&lt;ServiceController, <span class="code-keyword">bool</span>&gt; kv0 = 
			<span class="code-keyword">new</span> KeyValuePair&lt;ServiceController, <span class="code-keyword">bool</span>&gt;();
             <span class="code-comment">//</span><span class="code-comment"> we ask if we want to receive an email when the service stops
</span>            DialogResult result = MessageBox.Show(<span class="code-string">"</span><span class="code-string">Do you want to receive an E-mail 
			notifying you if the monitored service has 
			stopped execution?"</span>, <span class="code-string">"</span><span class="code-string">Notification confirmation"</span>, 
			MessageBoxButtons.YesNo, MessageBoxIcon.Question);
            <span class="code-keyword">if</span> (result == DialogResult.Yes)
            {
                kv0 = <span class="code-keyword">new</span> KeyValuePair&lt;ServiceController, <span class="code-keyword">bool</span>&gt;(s, <span class="code-keyword">true</span>);
            }
            <span class="code-keyword">else</span>
            {
                kv0 = <span class="code-keyword">new</span> KeyValuePair&lt;ServiceController, <span class="code-keyword">bool</span>&gt;(s, <span class="code-keyword">false</span>);
            }
              <span class="code-comment">//</span><span class="code-comment"> we add this service to the monitored services list of 
</span>	     <span class="code-comment">//</span><span class="code-comment"> type KeyValuePair&lt;ServiceController, bool&gt;
</span>            monitoredServs.Add(kv0);
             <span class="code-comment">//</span><span class="code-comment"> we fill the second grid
</span>            FillGrid2();
            index++;
        }
        <span class="code-keyword">else</span>
        {
            toolStripStatusLabel1.Text = <span class="code-string">"</span><span class="code-string">You can monitor up to 10 services!"</span>;
        }
    }
    <span class="code-keyword">catch</span> (Exception ex)
    {
        Log(<span class="code-string">"</span><span class="code-string">dataGridView1_CellDoubleClick"</span>, ex);
    }
}
<span class="code-preprocessor">#endregion</span></pre>

<p>I use a timer to check if one of the monitored services has changed its status. Please refer to the comments in the following method: </p>

<pre lang="cs"><span class="code-preprocessor">#region</span> [ timer2_Tick ]

<span class="code-keyword">void</span> timer2_Tick(<span class="code-keyword">object</span> sender, EventArgs e)
{
    <span class="code-keyword">try</span>
    {                                
        <span class="code-keyword">foreach</span> (KeyValuePair&lt;ServiceController, <span class="code-keyword">bool</span>&gt; kv <span class="code-keyword">in</span> monitoredServs)
        {
            exists = <span class="code-keyword">false</span>;
            <span class="code-keyword">if</span> (kv.Key != <span class="code-keyword">null</span>)
            {
                kv.Key.Refresh();
                 <span class="code-comment">//</span><span class="code-comment"> we check if the service has already been marked as stopped, 
</span>	        <span class="code-comment">//</span><span class="code-comment"> then we can't and don't want to add it again
</span>                <span class="code-keyword">foreach</span> (DataGridViewRow row <span class="code-keyword">in</span> dataGridView3.Rows)
                {
                    <span class="code-keyword">if</span> (row.Cells[<span class="code-digit">0</span>].Value.ToString() == kv.Key.ServiceName &amp;&amp; 
			row.Cells[<span class="code-digit">1</span>].Value.ToString() == kv.Key.MachineName)
                    {
                        exists = <span class="code-keyword">true</span>;
                    }
                }
                <span class="code-comment">//</span><span class="code-comment"> if the service is stopped and hasn't been added still, 
</span>	       <span class="code-comment">//</span><span class="code-comment"> we added to the GridView3
</span>                <span class="code-keyword">if</span> (!exists)
                {                            
                    <span class="code-keyword">if</span> (kv.Key.Status == ServiceControllerStatus.Stopped)
                    {
                        FillGrid3(kv);
                    }                          
                }
            }
        }
        <span class="code-comment">//</span><span class="code-comment"> we check if the service has restarted and if its status 
</span>        <span class="code-comment">//</span><span class="code-comment"> is different from stopped, then we take it out 
</span>        <span class="code-comment">//</span><span class="code-comment"> of the list with stopped services and remove it as a row 
</span>        <span class="code-comment">//</span><span class="code-comment"> from the GridView3 control displaying them
</span>        <span class="code-keyword">foreach</span> (DataGridViewRow row <span class="code-keyword">in</span> dataGridView3.Rows)
        {
            ServiceController sc = <span class="code-keyword">new</span> ServiceController
		(row.Cells[<span class="code-digit">0</span>].Value.ToString(),row.Cells[<span class="code-digit">1</span>].Value.ToString());
            sc.Refresh();
            <span class="code-keyword">if</span> (sc.Status != ServiceControllerStatus.Stopped)
            {
                dataGridView3.Rows.RemoveAt(row.Index);
            }
        }
        
        <span class="code-keyword">new</span> System.Threading.Thread(FillGrid2).Start();               
    }
    <span class="code-keyword">catch</span> (Exception ex)
    {
        Log(<span class="code-string">"</span><span class="code-string">timer2_Tick"</span>, ex);
    }
}
<span class="code-preprocessor">#endregion</span> </pre>

<p>Another <code>Timer </code>refreshes the list of services displayed in the main <code>DataGridView</code>. It operates on a different <code>Thread</code>.</p>

<pre lang="cs"><span class="code-preprocessor">#region</span> [ timer1_Tick ]
<span class="code-keyword">void</span> timer1_Tick(<span class="code-keyword">object</span> sender, EventArgs e)
{
    <span class="code-keyword">try</span>
    {
        <span class="code-keyword">if</span> (textBoxMachineName.Text.Trim().Length == <span class="code-digit">0</span>)
        {
            textBoxMachineName.Text = System.Environment.MachineName;
        }                
        <span class="code-keyword">new</span> System.Threading.Thread(ListServicesAsync).Start();
                                        
    }
    <span class="code-keyword">catch</span> (Exception ex)
    {
        Log(<span class="code-string">"</span><span class="code-string">timer1_Tick"</span>, ex);
    }
}
<span class="code-preprocessor">#endregion</span> </pre>

<p>I find the following very useful. When you click on a row in the <code>gridView </code>displaying the services being monitored, a <em>.BAT</em> file with parameters is being executed, in this case displaying the event viewer of the machine the service is running on:</p>

<pre lang="cs"><span class="code-preprocessor">#region</span> [ dataGridView3_CellContentClick ]
<span class="code-keyword">private</span> <span class="code-keyword">void</span> dataGridView3_CellContentClick_1(<span class="code-keyword">object</span> sender, DataGridViewCellEventArgs e)
{
    <span class="code-keyword">try</span>
    {
        <span class="code-keyword">if</span> (e.ColumnIndex == <span class="code-digit">3</span>)<span class="code-comment">//</span><span class="code-comment"> start service button
</span>        {
            ServiceController sc = <span class="code-keyword">new</span> ServiceController
		(dataGridView3.Rows[e.RowIndex].Cells[<span class="code-digit">0</span>].Value.ToString(), 
		dataGridView3.Rows[e.RowIndex].Cells[<span class="code-digit">1</span>].Value.ToString());
            sc.Start();
            dataGridView3.Rows.RemoveAt(e.RowIndex);
        }
        <span class="code-keyword">else</span>
        {
            Process p = <span class="code-keyword">new</span> Process();
             <span class="code-comment">//</span><span class="code-comment">string executable = Environment.ExpandEnvironmentVariables
</span>				(<span class="code-string">@"</span><span class="code-string">%SystemRoot%\system32\eventvwr.msc"</span>);
              p.StartInfo.FileName = <span class="code-string">"</span><span class="code-string">EVENTVIEWER.BAT"</span>;
            p.StartInfo.Arguments = Convert.ToString
			(dataGridView3.Rows[e.RowIndex].Cells[<span class="code-digit">1</span>].Value);
              p.Start(); 
        }
    }
    <span class="code-keyword">catch</span> (Exception ex)
    {
        Log(<span class="code-string">"</span><span class="code-string">dataGridView3_CellContentClick_1"</span>, ex);
        toolStripStatusLabel1.Text = ex.Message;
    }
}
<span class="code-preprocessor">#endregion</span> </pre>

<p>You can start the application with administrator privileges (as long you have those). Therefore I use some classes I've created, which I won't describe in this article. The passwords are then stored securely in the configuration file and you don't need to enter administrator username and password each time.</p>

<p>Another useful feature is that all the monitored services, while the application was running get stored in the application <em>config</em> file in the&nbsp;<code>FormClosing&nbsp;EventHandler</code>.&nbsp; </p>

<pre lang="cs"><span class="code-preprocessor">#region</span> [ Smc_FormClosing ]
<span class="code-keyword">private</span> <span class="code-keyword">void</span> Smc_FormClosing(<span class="code-keyword">object</span> sender, FormClosingEventArgs e)
{
    <span class="code-keyword">try</span>
    {
        <span class="code-keyword">for</span> (<span class="code-keyword">int</span> i = <span class="code-digit">0</span>; i &lt; <span class="code-digit">10</span>; i++)
        {
            conf.SaveToAppConfig(<span class="code-string">"</span><span class="code-string">service"</span> + i.ToString() + <span class="code-string">"</span><span class="code-string">Name"</span>, 
		(i &gt;= monitoredServs.Count ? <span class="code-string">"</span><span class="code-string">"</span> : 
			monitoredServs[i].Key.ServiceName));
            conf.SaveToAppConfig(<span class="code-string">"</span><span class="code-string">service"</span> + i.ToString() + <span class="code-string">"</span><span class="code-string">Machine"</span>, 
		(i &gt;= monitoredServs.Count ? <span class="code-string">"</span><span class="code-string">"</span> : 
			monitoredServs[i].Key.MachineName.ToUpper()));
            conf.SaveToAppConfig(<span class="code-string">"</span><span class="code-string">service"</span> + i.ToString() + <span class="code-string">"</span><span class="code-string">mail"</span>, 
		(i &gt;= monitoredServs.Count ? <span class="code-string">"</span><span class="code-string">"</span> : 
			monitoredServs[i].Value.ToString()));
        }
    }
    <span class="code-keyword">catch</span> (Exception ex)
    {
        Log(<span class="code-string">"</span><span class="code-string">Smc_FormClosing"</span>, ex);
    }
}
<span class="code-preprocessor">#endregion</span> </pre>

<p>This is also done with classes I've created separately and won't be described here. I just wanted to point out the use of generics, <code>dataGridView </code>and the <code>ServiceController </code>object.&nbsp;</p>

<h2>History</h2>

<ul>
<li>8<sup>th</sup> May, 2009: Initial version&nbsp; </li>
</ul>




						</div>
						<!-- Article Text End -->

						
						
						<h2>License</h2>
						<div id="LicenseTerms"><p>This article, along with any associated source code and files, is licensed under <a href="http://www.codeproject.com/info/cpol10.aspx" rel="license">The Code Project Open License (CPOL)</a></p></div>
						

						
						<h2 id="ctl00_AboutHeading">About the Author</h2>

						<div class="float-right">
						<div class="lqm_ad" lqm_publisher="lqm.codeproject.site"  lqm_zone="ros" lqm_format="300x250" lqm_loadOnView='true'  lqm_tags='.NET2.0, C#, .NET, Visual-Studio, Dev, Intermediate,rating4.5'></div>
						</div>

						
						
<table cellpadding="0" cellspacing="5" border="0">
<tr valign="top">
<td id="ctl00_AboutAuthorRptr_ctl00_AboutAuthor_memberPhotoTable" valign="top" style="width:155px;">
	<b><a id="ctl00_AboutAuthorRptr_ctl00_AboutAuthor_memberProfileLink" href="/Members/rusevd">rusevd</a></b><br /><br />
	<center></center>

	<div class="small-text">
		<span id="ctl00_AboutAuthorRptr_ctl00_AboutAuthor_memberJobTitle">Software Developer (Junior)</span><br />
		<span id="ctl00_AboutAuthorRptr_ctl00_AboutAuthor_memberCompany"></span><br />
		<span id="ctl00_AboutAuthorRptr_ctl00_AboutAuthor_memberLocation"><img src="/script/Geo/Images/BG.gif" alt="Bulgaria" width="16px" height="11px" /> Bulgaria</span><br />
		<br />
		<span id="ctl00_AboutAuthorRptr_ctl00_AboutAuthor_memberType">Member</span><br />
		
		<br />

		
	</div>
</td>

<td>
	I am a 26 year old programmer with 5 years of experience in .NET programming. I am interested in developing ASP.NET AJAX enabled applications utilizing SSRS, MSSQL Server etc.<br />	
</td>
</tr>
</table><br />
						
						

						<div class="clearfix"></div>

						
						<div id="ctl00_RateArticleRow" class="clearfix voting-bar">
						<div class="float-left" style="padding-top:8px"><a class="anchorLink" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines#_articleTop">Article Top</a></div>
						<div class="float-right"><a id="_rating" name="_rating">&nbsp;</a></div> 
						<div class="float-right align-right">
							<div id="ctl00_RateArticle_RateItemWrapper" class="container-rating small-text" name="RateItem_36268">

	<table width="100%" cellpadding="0" cellspacing="0" class="small-text">
	<tr>
		<td id="ctl00_RateArticle_VoteResultDiv" nowrap="nowrap" align="right">
			<span class="voteRes"></span>
			<img class="loaderImg" width="16px" alt="loading..." height="16px" 
				src="/Images/animated_loading_blue.gif" style="display:none;" /> 
		</td>

	
		<td class="voteTbl" style="white-space:nowrap" align="right">
			<table class="small-text">
			<tr>
				
				<td id="ctl00_RateArticle_RateText" class="rating-prompt">
					Rate this:
				</td>

				<td id="ctl00_RateArticle_StartForm" align="right" nowrap="nowrap">
					<i>&nbsp;&nbsp;Poor</i>
				</td>

				<td id="ctl00_RateArticle_VoteFormDiv" class="nowrap">
					

					<span id="ctl00_RateArticle_RB" class="tooltip ajaxHist radio voting">
						<span id="ctl00_RateArticle_VoteRBL"><input id="ctl00_RateArticle_VoteRBL_0" type="radio" name="ctl00$RateArticle$VoteRBL" value="1" onclick="ChkRtctl00_RateArticle(1, 36268);
$(&#39;#ctl00_RateArticle_RCD&#39;).show();
;" /><input id="ctl00_RateArticle_VoteRBL_1" type="radio" name="ctl00$RateArticle$VoteRBL" value="2" onclick="ChkRtctl00_RateArticle(2, 36268);
$(&#39;#ctl00_RateArticle_RCD&#39;).show();
;" /><input id="ctl00_RateArticle_VoteRBL_2" type="radio" name="ctl00$RateArticle$VoteRBL" value="3" onclick="ChkRtctl00_RateArticle(3, 36268);
$(&#39;#ctl00_RateArticle_RCD&#39;).show();
;" /><input id="ctl00_RateArticle_VoteRBL_3" type="radio" name="ctl00$RateArticle$VoteRBL" value="4" onclick="ChkRtctl00_RateArticle(4, 36268);
$(&#39;#ctl00_RateArticle_RCD&#39;).show();
;" /><input id="ctl00_RateArticle_VoteRBL_4" type="radio" name="ctl00$RateArticle$VoteRBL" value="5" onclick="ChkRtctl00_RateArticle(5, 36268);
$(&#39;#ctl00_RateArticle_RCD&#39;).show();
;" /></span> 

						
					</span>

				</td>

				<td id="ctl00_RateArticle_EndForm" align="left">
					<i>Excellent</i>
				</td>

				<td>	
					<input type="submit" name="ctl00$RateArticle$SubmitRateBtn" value="Vote" onclick="return PostBack_ctl00_RateArticle_RateItemWrapper();" id="ctl00_RateArticle_SubmitRateBtn" class="button" />
				</td>
			</tr>
			</table>
			<span id="ctl00_RateArticle_ErrorMessage" class="error"></span>
		</td>
	</tr>
	</table>
	<div class="hover-container">
		<div id="ctl00_RateArticle_RCD" class="rating-comment align-left float-right">
			Add a reason or comment to your vote: <a href="#" id="clear-rate_ctl00_RateArticle_RCD" 
				title="close">x</a><br />
			<textarea class="RateComment" rows="5" cols="60" style="width:98%;"></textarea>
			<span id="ctl00_RateArticle_CommentReq" class="subdue">Votes of 3 or less require a comment</span>
		</div>
	</div>
</div>
						</div>
						</div>
						

					</form>

					
					<div style="margin:auto;width:728px;height:90px;margin-top:10px">		  
						<div class="lqm_ad" lqm_publisher="lqm.codeproject.site"  lqm_zone="bottom" lqm_format="728x90" lqm_loadOnView='true'  lqm_tags='.NET2.0, C#, .NET, Visual-Studio, Dev, Intermediate,pos_bottom'></div>
					</div>
					

					
					
					<h2>Comments and Discussions</h2>
					<a name="_comments" id="_comments">&nbsp;</a><div id="_MessageBoardctl00_MessageBoard" onclick="return SwitchMessage(event, null)">
	<table id="ForumTable" class="box forum" cellpadding="0" cellspacing="0">
		<tr>
			<td><table width="100%" border="0" cellpadding="3px" cellspacing="0">
				<tr class="forum-header1">
					<td colspan="2" style="white-space:nowrap;"><div class="container">
						<div class="button-newmsg float-left" onclick="FireNew(this)">
							<img src="http://s.codeproject.com/script/Forums/Images/forum_newmsg.gif" alt="new" width="16px" height="16px" border="0" align="top" /> <a href="/script/Forums/Edit.aspx?fid=1540446&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines" name="Frm_HoverNL" title="Add a Add a Comment or Question" target="_top"><b>Add a Comment or Question</b></a>
						</div>&nbsp;<div class="float-right">
							<form action="/Search.aspx?fid=0" method="get" class="tight">
								<input type="hidden" name="fid" value="1540446" /><b>Search this forum </b><input type="text" class="Frm_Input" name="qf" style="width:200px;" />&nbsp;<input type="submit" value="Go" class="button" />
							</form>
						</div>
					</div></td><tr class="forum-header2">
						<td style="white-space:nowrap;">&nbsp;<a href="/KB/FAQs/MessageBoardsFAQ.aspx"><img src="http://s.codeproject.com/script/Forums/Images/msg_question.gif" title="FAQ" alt="FAQ" style="border-width:0;width:16px;height:16px;vertical-align:middle;" /></a></td><td style="width:100%;"><div style="text-align:right;">
							<form action="/script/Forums/SetOptions.aspx?floc=%2fArticles%2f36268%2fMonitor-and-Manage-Services-on-Remote-Machines&amp;fid=1540446" method="get" style="margin:0;padding:0;">
								<input type="hidden" name="fid" value="1540446" /><input type="hidden" name="currentQS" value="?floc=%2fArticles%2f36268%2fMonitor-and-Manage-Services-on-Remote-Machines&amp;fid=1540446" /><input type="hidden" name="floc" value="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines" /><input type="checkbox" name="prof" id="prof" style="vertical-align:middle;" /><label for="prof">Profile popups</label>&nbsp;&nbsp;&nbsp;&nbsp;Noise<select size="1" class="Frm_DropDown" name="noise">
									<option value="1">Very High</option><option value="2">High</option><option selected value="3">Medium</option><option value="4">Low</option><option value="5">Very Low</option>
								</select>&nbsp;&nbsp;Layout<select size="1" class="Frm_DropDown" name="view">
									<option selected value="Quick">Normal</option><option value="Topic">Expand Posts only</option><option value="Expanded">Expand Posts & Replies</option><option value="Thread">Thread View</option><option value="Normal">No Javascript</option><option value="Preview">No JS + Preview</option>
								</select>&nbsp;&nbsp;Per page<select size="1" class="Frm_DropDown" name="mpp">
									<option value="10">10</option><option selected value="25">25</option><option value="50">50</option>
								</select>&nbsp;&nbsp;&nbsp;<input type="submit" value="Update" name="SetOpt" class="button" />
							</form>
						</div></td>
					</tr>
				</tr>
			</table></td><tr>
				<td><a name="xx0xx"></a><table border="0" cellpadding="2px" cellspacing="0" width="100%">
					<tr class="forum-navbar">
						<td>&nbsp;</td><td style="text-align:right;width:50%;"> <a href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446">Refresh</a></td><td class="nav-link" style="text-align:right;white-space:nowrap;"><span class="subdue">First</span> <span class="subdue">Prev</span> <span class="subdue">Next</span></td>
					</tr>
				</table></td>
			</tr><tr>
				<td><table border="0" cellpadding="0" cellspacing="0" width="100%" class="fixed-layout blank-background">
					<tr>
						<td><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="5px" alt="" /></td>
					</tr><tr class="MsgHd Rt HdUnSel " id="F4159151_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr class="hover-row">
								<td width="16px" class="Frm_MsgIndent"><a name="xx4159151xx"></a><img height="16px" width="16px" align="top" src="/script/Forums/Images/msg_question.gif" alt="Question" /></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="4159151" parent="0" thread="4159151" href="/Messages/4159151/cannot-open-service-control-manager-on-computer-th.aspx">cannot open service control manager on computer "". this operation might require other privileges.</a> <a onclick="return Pin(this);" href="#" title="Click to pin message"><img src="http://s.codeproject.com/script/Forums/Images/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px" /></a></td><td class="Frm_MsgIcon"><img border="0" src="http://s.codeproject.com/App_Themes/Std/Img/icn-member-16.gif" title="member" alt="member" height="16px" /></td><td class="Frm_MsgAuthor"><a href="/script/Membership/View.aspx?mid=8606644">dzidzai</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">10:21 16 Feb '12 &nbsp;</td>
							</tr>
						</table></td>
					</tr><tr id="F4159151_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td class="Frm_MsgIndent" style="width:16px;"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" height="1px" width="16px" alt="" /></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td colspan="2">Hi guys please may you help with errors i've been receiving.<br />
&nbsp;<br />
1.I'm trying to connect to a remote box running windows server 2003. One box works without a problem and without a password. The other give me this error "cannot open service control manager on computer "". this operation might require other privileges.<br />
&nbsp;<br />
I have passwords to all the remote boxes.<br />
&nbsp;<br />
2. How do i manually input the user and password into config file in Visual Studio.<br />
&nbsp;<br />
<br />
Any help will be much appreciated.<br /></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=4159151&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=r" title="Reply">Reply</a>·<a class="toolbar" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=4159151&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=e" title="Email">Email</a>·<a class="toolbar" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;tid=4159151" title="View&nbsp;Thread">View&nbsp;Thread</a>·<a class="toolbar" href="/Messages/4159151/cannot-open-service-control-manager-on-computer-th.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="/script/Bookmarks/Add.aspx?obid=4159151&amp;obtid=3&amp;action=AddBookmark&amp;bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,'/script/Bookmarks/Ajax/Add.aspx?obid=4159151&obtid=3&action=AddBookmark&bio=false',false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF4159151" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(8606644,4159151,false,"","","");
												</script></span></td>
											</tr>
										</table></td>
									</tr>
								</table></td>
							</tr>
						</table></td>
					</tr><tr class="quick">
						<td class="root msg-divide"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="1px" alt="" /></td>
					</tr><tr class="MsgHd Rt HdUnSel " id="F4048023_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr class="hover-row">
								<td width="16px" class="Frm_MsgIndent"><a name="xx4048023xx"></a><img height="16px" width="16px" align="top" src="/script/Forums/Images/msg_question.gif" alt="Question" /></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="4048023" parent="0" thread="4048023" href="/Messages/4048023/help.aspx">help</a> <a onclick="return Pin(this);" href="#" title="Click to pin message"><img src="http://s.codeproject.com/script/Forums/Images/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px" /></a></td><td class="Frm_MsgIcon"><img border="0" src="http://s.codeproject.com/App_Themes/Std/Img/icn-member-16.gif" title="member" alt="member" height="16px" /></td><td class="Frm_MsgAuthor"><a href="/script/Membership/View.aspx?mid=8305291">keith898989</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">14:53 10 Oct '11 &nbsp;</td>
							</tr>
						</table></td>
					</tr><tr id="F4048023_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td class="Frm_MsgIndent" style="width:16px;"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" height="1px" width="16px" alt="" /></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td colspan="2">Can someone explain how to and where to place code..maybe a little step by step to use noobees<br /></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=4048023&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=r" title="Reply">Reply</a>·<a class="toolbar" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=4048023&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=e" title="Email">Email</a>·<a class="toolbar" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;tid=4048023" title="View&nbsp;Thread">View&nbsp;Thread</a>·<a class="toolbar" href="/Messages/4048023/help.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="/script/Bookmarks/Add.aspx?obid=4048023&amp;obtid=3&amp;action=AddBookmark&amp;bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,'/script/Bookmarks/Ajax/Add.aspx?obid=4048023&obtid=3&action=AddBookmark&bio=false',false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF4048023" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(8305291,4048023,false,"","","");
												</script></span></td>
											</tr>
										</table></td>
									</tr>
								</table></td>
							</tr>
						</table></td>
					</tr><tr class="quick">
						<td class="root msg-divide"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="1px" alt="" /></td>
					</tr><tr class="MsgHd HiVote Rt HdUnSel " id="F3753886_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr class="hover-row">
								<td width="16px" class="Frm_MsgIndent"><a name="xx3753886xx"></a><img height="16px" width="16px" align="top" src="/script/Forums/Images/msg_question.gif" alt="Question" /></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="3753886" parent="0" thread="3753886" href="/Messages/3753886/WebExtreme-dlls.aspx">WebExtreme dlls</a> <a onclick="return Pin(this);" href="#" title="Click to pin message"><img src="http://s.codeproject.com/script/Forums/Images/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px" /></a></td><td class="Frm_MsgIcon"><img border="0" src="http://s.codeproject.com/App_Themes/Std/Img/icn-member-16.gif" title="member" alt="member" height="16px" /></td><td class="Frm_MsgAuthor"><a href="/script/Membership/View.aspx?mid=7084108">Matthew Verbrugge</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">16:08 31 Jan '11 &nbsp;</td>
							</tr>
						</table></td>
					</tr><tr id="F3753886_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td class="Frm_MsgIndent" style="width:16px;"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" height="1px" width="16px" alt="" /></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td colspan="2">Are you also the author of the WebExtreme dlls?   Do you have the source code for those as well?<br /></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=3753886&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=r" title="Reply">Reply</a>·<a class="toolbar" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=3753886&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=e" title="Email">Email</a>·<a class="toolbar" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;tid=3753886" title="View&nbsp;Thread">View&nbsp;Thread</a>·<a class="toolbar" href="/Messages/3753886/WebExtreme-dlls.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="/script/Bookmarks/Add.aspx?obid=3753886&amp;obtid=3&amp;action=AddBookmark&amp;bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,'/script/Bookmarks/Ajax/Add.aspx?obid=3753886&obtid=3&action=AddBookmark&bio=false',false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF3753886" style="white-space:nowrap;">5.00/5 (1 vote) <script type="text/javascript">
													MsgVFrm(7084108,3753886,false,"","","");
												</script></span></td>
											</tr>
										</table></td>
									</tr>
								</table></td>
							</tr>
						</table></td>
					</tr><tr class="quick">
						<td class="root msg-divide"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="1px" alt="" /></td>
					</tr><tr class="MsgHd Rt HdUnSel " id="F3047310_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr class="hover-row">
								<td width="16px" class="Frm_MsgIndent"><a name="xx3047310xx"></a><img height="16px" width="16px" align="top" src="/script/Forums/Images/msg_general.gif" alt="General" /></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="3047310" parent="0" thread="3047310" href="/Messages/3047310/Source-code-is-missing.aspx">Source code is missing..</a> <a onclick="return Pin(this);" href="#" title="Click to pin message"><img src="http://s.codeproject.com/script/Forums/Images/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px" /></a></td><td class="Frm_MsgIcon"><img border="0" src="http://s.codeproject.com/App_Themes/Std/Img/icn-member-16.gif" title="member" alt="member" height="16px" /></td><td class="Frm_MsgAuthor"><a href="/script/Membership/View.aspx?mid=6222414">Holysoul</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">14:20 19 May '09 &nbsp;</td>
							</tr>
						</table></td>
					</tr><tr id="F3047310_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td class="Frm_MsgIndent" style="width:16px;"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" height="1px" width="16px" alt="" /></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td colspan="2">Hi!<br />
&nbsp;<br />
Your project seems to be everything I'm looking for but I can't download the Source code for some reason! I reported the problem to Code Project but I thought I tell you too just in case...<br />
&nbsp;<br />
The project is in C sharp right?<br /></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=3047310&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=r" title="Reply">Reply</a>·<a class="toolbar" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;tid=3047310" title="View&nbsp;Thread">View&nbsp;Thread</a>·<a class="toolbar" href="/Messages/3047310/Source-code-is-missing.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="/script/Bookmarks/Add.aspx?obid=3047310&amp;obtid=3&amp;action=AddBookmark&amp;bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,'/script/Bookmarks/Ajax/Add.aspx?obid=3047310&obtid=3&action=AddBookmark&bio=false',false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF3047310" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(6222414,3047310,false,"","","");
												</script></span></td>
											</tr>
										</table></td>
									</tr>
								</table></td>
							</tr>
						</table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="1px" alt="" /></td>
					</tr><tr class="MsgHd HdUnSel " id="F3047781_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr class="hover-row">
								<td width="34px" class="Frm_MsgIndent"><a name="xx3047781xx"></a><img height="16px" width="16px" align="top" src="/script/Forums/Images/msg_general.gif" alt="General" /></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="3047781" parent="3047310" thread="3047310" href="/Messages/3047781/Re-Source-code-is-missing.aspx">Re: Source code is missing..</a> <a onclick="return Pin(this);" href="#" title="Click to pin message"><img src="http://s.codeproject.com/script/Forums/Images/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px" /></a></td><td class="Frm_MsgIcon"><img border="0" src="http://s.codeproject.com/App_Themes/Std/Img/icn-member-16.gif" title="member" alt="member" height="16px" /></td><td class="Frm_MsgAuthor"><a href="/script/Membership/View.aspx?mid=4515995">rusevd</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">1:20 20 May '09 &nbsp;</td>
							</tr>
						</table></td>
					</tr><tr id="F3047781_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td class="Frm_MsgIndent" style="width:34px;"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" height="1px" width="34px" alt="" /></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td colspan="2">Hi, <br />
&nbsp;<br />
the source downloads fine (currently using Chrome). I don't have a clue why it isn't working for you. What happens when you click the link? The project is in C#.<br /></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=3047781&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=r" title="Reply">Reply</a>·<a class="toolbar" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;tid=3047310" title="View&nbsp;Thread">View&nbsp;Thread</a>·<a class="toolbar" href="/Messages/3047781/Re-Source-code-is-missing.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="/script/Bookmarks/Add.aspx?obid=3047781&amp;obtid=3&amp;action=AddBookmark&amp;bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,'/script/Bookmarks/Ajax/Add.aspx?obid=3047781&obtid=3&action=AddBookmark&bio=false',false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF3047781" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(4515995,3047781,false,"","","");
												</script></span></td>
											</tr>
										</table></td>
									</tr>
								</table></td>
							</tr>
						</table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="1px" alt="" /></td>
					</tr><tr class="MsgHd HdUnSel " id="F3048395_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr class="hover-row">
								<td width="34px" class="Frm_MsgIndent"><a name="xx3048395xx"></a><img height="16px" width="16px" align="top" src="/script/Forums/Images/msg_general.gif" alt="General" /></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="3048395" parent="3047310" thread="3047310" href="/Messages/3048395/Re-Source-code-is-missing-modified.aspx">Re: Source code is missing.. [modified]</a> <a onclick="return Pin(this);" href="#" title="Click to pin message"><img src="http://s.codeproject.com/script/Forums/Images/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px" /></a></td><td class="Frm_MsgIcon"><img border="0" src="http://s.codeproject.com/App_Themes/Std/Img/icn-member-16.gif" title="member" alt="member" height="16px" /></td><td class="Frm_MsgAuthor"><a href="/script/Membership/View.aspx?mid=6222414">Holysoul</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">8:37 20 May '09 &nbsp;</td>
							</tr>
						</table></td>
					</tr><tr id="F3048395_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td class="Frm_MsgIndent" style="width:34px;"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" height="1px" width="34px" alt="" /></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td colspan="2">It seems to have been fixed quite rapidly so never mind my comment!<br />
I'll start playing with it right away! Basically it does pretty much everything i'm looking for so far except minor adjustments (having a start/stop button on the monitored services as well, setting the auto restart on specific services and not absolutely all... little things like this). <br />
&nbsp;<br />
<div class="ForumMod">modified on Wednesday, May 20, 2009 9:54 AM</div><br /></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=3048395&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=r" title="Reply">Reply</a>·<a class="toolbar" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;tid=3047310" title="View&nbsp;Thread">View&nbsp;Thread</a>·<a class="toolbar" href="/Messages/3048395/Re-Source-code-is-missing-modified.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="/script/Bookmarks/Add.aspx?obid=3048395&amp;obtid=3&amp;action=AddBookmark&amp;bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,'/script/Bookmarks/Ajax/Add.aspx?obid=3048395&obtid=3&action=AddBookmark&bio=false',false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF3048395" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(6222414,3048395,false,"","","");
												</script></span></td>
											</tr>
										</table></td>
									</tr>
								</table></td>
							</tr>
						</table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="1px" alt="" /></td>
					</tr><tr class="MsgHd HdUnSel " id="F3048406_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr class="hover-row">
								<td width="52px" class="Frm_MsgIndent"><a name="xx3048406xx"></a><img height="16px" width="16px" align="top" src="/script/Forums/Images/msg_general.gif" alt="General" /></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="3048406" parent="3048395" thread="3047310" href="/Messages/3048406/Re-Source-code-is-missing.aspx">Re: Source code is missing..</a> <a onclick="return Pin(this);" href="#" title="Click to pin message"><img src="http://s.codeproject.com/script/Forums/Images/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px" /></a></td><td class="Frm_MsgIcon"><img border="0" src="http://s.codeproject.com/App_Themes/Std/Img/icn-member-16.gif" title="member" alt="member" height="16px" /></td><td class="Frm_MsgAuthor"><a href="/script/Membership/View.aspx?mid=4515995">rusevd</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">8:42 20 May '09 &nbsp;</td>
							</tr>
						</table></td>
					</tr><tr id="F3048406_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td class="Frm_MsgIndent" style="width:52px;"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" height="1px" width="52px" alt="" /></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td colspan="2">Hope you'll make good use out of it, I'll be glad to help if you need any assistance.<br /></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=3048406&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=r" title="Reply">Reply</a>·<a class="toolbar" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;tid=3047310" title="View&nbsp;Thread">View&nbsp;Thread</a>·<a class="toolbar" href="/Messages/3048406/Re-Source-code-is-missing.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="/script/Bookmarks/Add.aspx?obid=3048406&amp;obtid=3&amp;action=AddBookmark&amp;bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,'/script/Bookmarks/Ajax/Add.aspx?obid=3048406&obtid=3&action=AddBookmark&bio=false',false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF3048406" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(4515995,3048406,false,"","","");
												</script></span></td>
											</tr>
										</table></td>
									</tr>
								</table></td>
							</tr>
						</table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="1px" alt="" /></td>
					</tr><tr class="MsgHd LoVote HdUnSel " id="F3048428_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr class="hover-row">
								<td width="70px" class="Frm_MsgIndent"><a name="xx3048428xx"></a><img height="16px" width="16px" align="top" src="/script/Forums/Images/msg_general.gif" alt="General" /></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="3048428" parent="3048406" thread="3047310" href="/Messages/3048428/Re-Source-code-is-missing.aspx">Re: Source code is missing..</a> <a onclick="return Pin(this);" href="#" title="Click to pin message"><img src="http://s.codeproject.com/script/Forums/Images/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px" /></a></td><td class="Frm_MsgIcon"><img border="0" src="http://s.codeproject.com/App_Themes/Std/Img/icn-member-16.gif" title="member" alt="member" height="16px" /></td><td class="Frm_MsgAuthor"><a href="/script/Membership/View.aspx?mid=6222414">Holysoul</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">8:58 20 May '09 &nbsp;</td>
							</tr>
						</table></td>
					</tr><tr id="F3048428_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td class="Frm_MsgIndent" style="width:70px;"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" height="1px" width="70px" alt="" /></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td colspan="2">Thanks, that's appreciated!<br />
I'll first take a good look at the structure to see what does what and where the handling is made and if anything, I'll come back to you!<br />
If we make some adjustment to it, I'll send them to you if you're interested!<br /></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=3048428&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=r" title="Reply">Reply</a>·<a class="toolbar" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;tid=3047310" title="View&nbsp;Thread">View&nbsp;Thread</a>·<a class="toolbar" href="/Messages/3048428/Re-Source-code-is-missing.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="/script/Bookmarks/Add.aspx?obid=3048428&amp;obtid=3&amp;action=AddBookmark&amp;bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,'/script/Bookmarks/Ajax/Add.aspx?obid=3048428&obtid=3&action=AddBookmark&bio=false',false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF3048428" style="white-space:nowrap;">1.00/5 (1 vote) <script type="text/javascript">
													MsgVFrm(6222414,3048428,false,"","","");
												</script></span></td>
											</tr>
										</table></td>
									</tr>
								</table></td>
							</tr>
						</table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="1px" alt="" /></td>
					</tr><tr class="MsgHd LoVote HdUnSel " id="F3048562_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr class="hover-row">
								<td width="70px" class="Frm_MsgIndent"><a name="xx3048562xx"></a><img height="16px" width="16px" align="top" src="/script/Forums/Images/msg_general.gif" alt="General" /></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="3048562" parent="3048406" thread="3047310" href="/Messages/3048562/Re-Source-code-is-missing.aspx">Re: Source code is missing..</a> <a onclick="return Pin(this);" href="#" title="Click to pin message"><img src="http://s.codeproject.com/script/Forums/Images/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px" /></a></td><td class="Frm_MsgIcon"><img border="0" src="http://s.codeproject.com/App_Themes/Std/Img/icn-member-16.gif" title="member" alt="member" height="16px" /></td><td class="Frm_MsgAuthor"><a href="/script/Membership/View.aspx?mid=6222414">Holysoul</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">10:00 20 May '09 &nbsp;</td>
							</tr>
						</table></td>
					</tr><tr id="F3048562_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td class="Frm_MsgIndent" style="width:70px;"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" height="1px" width="70px" alt="" /></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td colspan="2">First comment: the post-build copying to your SVN folder could be removed (only for your Code-Project posted version which would make it run without encountering errors on first try).<br /></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=3048562&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=r" title="Reply">Reply</a>·<a class="toolbar" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;tid=3047310" title="View&nbsp;Thread">View&nbsp;Thread</a>·<a class="toolbar" href="/Messages/3048562/Re-Source-code-is-missing.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="/script/Bookmarks/Add.aspx?obid=3048562&amp;obtid=3&amp;action=AddBookmark&amp;bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,'/script/Bookmarks/Ajax/Add.aspx?obid=3048562&obtid=3&action=AddBookmark&bio=false',false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF3048562" style="white-space:nowrap;">2.00/5 (1 vote) <script type="text/javascript">
													MsgVFrm(6222414,3048562,false,"","","");
												</script></span></td>
											</tr>
										</table></td>
									</tr>
								</table></td>
							</tr>
						</table></td>
					</tr><tr class="quick">
						<td class="root msg-divide"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="1px" alt="" /></td>
					</tr><tr class="MsgHd Rt HdUnSel " id="F3037939_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr class="hover-row">
								<td width="16px" class="Frm_MsgIndent"><a name="xx3037939xx"></a><img height="16px" width="16px" align="top" src="/script/Forums/Images/msg_general.gif" alt="General" /></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="3037939" parent="0" thread="3037939" href="/Messages/3037939/Nice-utility-but-could-improve-with-small-usabilit.aspx">Nice utility but could improve with small usability extras</a> <a onclick="return Pin(this);" href="#" title="Click to pin message"><img src="http://s.codeproject.com/script/Forums/Images/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px" /></a></td><td class="Frm_MsgIcon"><img border="0" src="http://s.codeproject.com/App_Themes/Std/Img/icn-member-16.gif" title="member" alt="member" height="16px" /></td><td class="Frm_MsgAuthor"><a href="/script/Membership/View.aspx?mid=2605023">msorens</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">9:54 12 May '09 &nbsp;</td>
							</tr>
						</table></td>
					</tr><tr id="F3037939_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td class="Frm_MsgIndent" style="width:16px;"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" height="1px" width="16px" alt="" /></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td colspan="2">May I suggest just a couple small things to make it much easier for those not intimately familiar with your SMC tool (i.e. everyone at this point <img src="/script/Forums/Images/smiley_smile.gif" align="top" alt="Smile | :)" />  ?<br />
(1) Make the utility usable without needing to read the article. The simplest approach is just to add some tooltips. I had no idea that I needed to double-click a row on the main grid to get it to show up on the monitored grid.<br />
(2) Not clear how the credentials tie in: I could read machines that had my same login without specifying credentials; others I needed to specify the credentials.<br />
(3) Some errors show up in the status bar (i.e. credentials don't have sufficient privilege) but others only go to the log: I tried double-clicking a row and nothing happened. The log showed "RPC server is unavailable". That needs to be reported on the status bar as well. (Also, how do I get around this error?)<br />
&nbsp;<br />
Regards,<br />
~~Michael Sorens<br />
~~Software Design Engineer<br />
~~Open Source Developer (http://cleancode.sourceforge.net/)<br />
~~Educator (Spokane Community College)<br />
~~Author (http://cleancode.sourceforge.net/wwwdoc/articles.html)<br />
~~Member: LinkedIn (http://www.linkedin.com/in/michaelsorens)<br /></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=3037939&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=r" title="Reply">Reply</a>·<a class="toolbar" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;tid=3037939" title="View&nbsp;Thread">View&nbsp;Thread</a>·<a class="toolbar" href="/Messages/3037939/Nice-utility-but-could-improve-with-small-usabilit.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="/script/Bookmarks/Add.aspx?obid=3037939&amp;obtid=3&amp;action=AddBookmark&amp;bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,'/script/Bookmarks/Ajax/Add.aspx?obid=3037939&obtid=3&action=AddBookmark&bio=false',false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF3037939" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(2605023,3037939,false,"","","");
												</script></span></td>
											</tr>
										</table></td>
									</tr>
								</table></td>
							</tr>
						</table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="1px" alt="" /></td>
					</tr><tr class="MsgHd HdUnSel " id="F3038818_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr class="hover-row">
								<td width="34px" class="Frm_MsgIndent"><a name="xx3038818xx"></a><img height="16px" width="16px" align="top" src="/script/Forums/Images/msg_general.gif" alt="General" /></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="3038818" parent="3037939" thread="3037939" href="/Messages/3038818/Re-Nice-utility-but-could-improve-with-small-usabi.aspx">Re: Nice utility but could improve with small usability extras</a> <a onclick="return Pin(this);" href="#" title="Click to pin message"><img src="http://s.codeproject.com/script/Forums/Images/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px" /></a></td><td class="Frm_MsgIcon"><img border="0" src="http://s.codeproject.com/App_Themes/Std/Img/icn-member-16.gif" title="member" alt="member" height="16px" /></td><td class="Frm_MsgAuthor"><a href="/script/Membership/View.aspx?mid=4515995">rusevd</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">1:14 13 May '09 &nbsp;</td>
							</tr>
						</table></td>
					</tr><tr id="F3038818_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td class="Frm_MsgIndent" style="width:34px;"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" height="1px" width="34px" alt="" /></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td colspan="2">Thanks a lot for the advice! I'll surely consider implementing those suggestions, it would definitely ease the use of the application. I've actually never come across this error you mentioned. I've googled it and I think it has something to do with the computer name. Found also this article referring to the problem <a href="http://support.microsoft.com/kb/884564">http://support.microsoft.com/kb/884564</a>[<a href="http://support.microsoft.com/kb/884564" target="_blank" title="New Window">^</a>], hope this helps. <br />
&nbsp;<br />
Regards,<br />
Rusev, Dimitar<br /></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=3038818&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=r" title="Reply">Reply</a>·<a class="toolbar" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;tid=3037939" title="View&nbsp;Thread">View&nbsp;Thread</a>·<a class="toolbar" href="/Messages/3038818/Re-Nice-utility-but-could-improve-with-small-usabi.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="/script/Bookmarks/Add.aspx?obid=3038818&amp;obtid=3&amp;action=AddBookmark&amp;bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,'/script/Bookmarks/Ajax/Add.aspx?obid=3038818&obtid=3&action=AddBookmark&bio=false',false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF3038818" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(4515995,3038818,false,"","","");
												</script></span></td>
											</tr>
										</table></td>
									</tr>
								</table></td>
							</tr>
						</table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="1px" alt="" /></td>
					</tr><tr class="MsgHd HdUnSel " id="F4159165_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr class="hover-row">
								<td width="34px" class="Frm_MsgIndent"><a name="xx4159165xx"></a><img height="16px" width="16px" align="top" src="/script/Forums/Images/msg_general.gif" alt="General" /></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="4159165" parent="3037939" thread="3037939" href="/Messages/4159165/Re-Nice-utility-but-could-improve-with-small-usabi.aspx">Re: Nice utility but could improve with small usability extras</a> <a onclick="return Pin(this);" href="#" title="Click to pin message"><img src="http://s.codeproject.com/script/Forums/Images/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px" /></a></td><td class="Frm_MsgIcon"><img border="0" src="http://s.codeproject.com/App_Themes/Std/Img/icn-member-16.gif" title="member" alt="member" height="16px" /></td><td class="Frm_MsgAuthor"><a href="/script/Membership/View.aspx?mid=8606644">dzidzai</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">10:27 16 Feb '12 &nbsp;</td>
							</tr>
						</table></td>
					</tr><tr id="F4159165_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td class="Frm_MsgIndent" style="width:34px;"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" height="1px" width="34px" alt="" /></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td colspan="2">I agree on no (2) and no (3), please could you provide a work around for this. thank you in advance<br /></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=4159165&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=r" title="Reply">Reply</a>·<a class="toolbar" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=4159165&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=e" title="Email">Email</a>·<a class="toolbar" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;tid=3037939" title="View&nbsp;Thread">View&nbsp;Thread</a>·<a class="toolbar" href="/Messages/4159165/Re-Nice-utility-but-could-improve-with-small-usabi.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="/script/Bookmarks/Add.aspx?obid=4159165&amp;obtid=3&amp;action=AddBookmark&amp;bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,'/script/Bookmarks/Ajax/Add.aspx?obid=4159165&obtid=3&action=AddBookmark&bio=false',false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF4159165" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(8606644,4159165,false,"","","");
												</script></span></td>
											</tr>
										</table></td>
									</tr>
								</table></td>
							</tr>
						</table></td>
					</tr><tr class="quick">
						<td class="root msg-divide"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="1px" alt="" /></td>
					</tr><tr class="MsgHd Rt HdUnSel " id="F3037623_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr class="hover-row">
								<td width="16px" class="Frm_MsgIndent"><a name="xx3037623xx"></a><img height="16px" width="16px" align="top" src="/script/Forums/Images/msg_question.gif" alt="Question" /></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="3037623" parent="0" thread="3037623" href="/Messages/3037623/References.aspx">References?</a> <a onclick="return Pin(this);" href="#" title="Click to pin message"><img src="http://s.codeproject.com/script/Forums/Images/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px" /></a></td><td class="Frm_MsgIcon"><img border="0" src="http://s.codeproject.com/App_Themes/Std/Img/icn-member-16.gif" title="member" alt="member" height="16px" /></td><td class="Frm_MsgAuthor"><a href="/script/Membership/View.aspx?mid=163123">Andy Crawford</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">7:05 12 May '09 &nbsp;</td>
							</tr>
						</table></td>
					</tr><tr id="F3037623_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td class="Frm_MsgIndent" style="width:16px;"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" height="1px" width="16px" alt="" /></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td colspan="2">Nice article. Can you point me to your refernces, GlassButton and WebExtreme?<br /></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=3037623&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=r" title="Reply">Reply</a>·<a class="toolbar" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;tid=3037623" title="View&nbsp;Thread">View&nbsp;Thread</a>·<a class="toolbar" href="/Messages/3037623/References.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="/script/Bookmarks/Add.aspx?obid=3037623&amp;obtid=3&amp;action=AddBookmark&amp;bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,'/script/Bookmarks/Ajax/Add.aspx?obid=3037623&obtid=3&action=AddBookmark&bio=false',false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF3037623" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(163123,3037623,false,"","","");
												</script></span></td>
											</tr>
										</table></td>
									</tr>
								</table></td>
							</tr>
						</table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="1px" alt="" /></td>
					</tr><tr class="MsgHd HdUnSel " id="F3037650_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr class="hover-row">
								<td width="34px" class="Frm_MsgIndent"><a name="xx3037650xx"></a><img height="16px" width="16px" align="top" src="/script/Forums/Images/msg_answer.gif" alt="Answer" /></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="3037650" parent="3037623" thread="3037623" href="/Messages/3037650/Re-References.aspx">Re: References?</a> <a onclick="return Pin(this);" href="#" title="Click to pin message"><img src="http://s.codeproject.com/script/Forums/Images/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px" /></a></td><td class="Frm_MsgIcon"><img border="0" src="http://s.codeproject.com/App_Themes/Std/Img/icn-member-16.gif" title="member" alt="member" height="16px" /></td><td class="Frm_MsgAuthor"><a href="/script/Membership/View.aspx?mid=4515995">rusevd</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">7:21 12 May '09 &nbsp;</td>
							</tr>
						</table></td>
					</tr><tr id="F3037650_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td class="Frm_MsgIndent" style="width:34px;"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" height="1px" width="34px" alt="" /></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td colspan="2">Hi, they can be found in the /bin/Release folder. You may also need to delete the post-build events from the project properties.<br /></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=3037650&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=r" title="Reply">Reply</a>·<a class="toolbar" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;tid=3037623" title="View&nbsp;Thread">View&nbsp;Thread</a>·<a class="toolbar" href="/Messages/3037650/Re-References.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="/script/Bookmarks/Add.aspx?obid=3037650&amp;obtid=3&amp;action=AddBookmark&amp;bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,'/script/Bookmarks/Ajax/Add.aspx?obid=3037650&obtid=3&action=AddBookmark&bio=false',false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF3037650" style="white-space:nowrap;"><script type="text/javascript">
													MsgVFrm(4515995,3037650,false,"","","");
												</script></span></td>
											</tr>
										</table></td>
									</tr>
								</table></td>
							</tr>
						</table></td>
					</tr><tr class="quick">
						<td class="root msg-divide"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="1px" alt="" /></td>
					</tr><tr class="MsgHd LoVote Rt HdUnSel " id="F3037622_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr class="hover-row">
								<td width="16px" class="Frm_MsgIndent"><a name="xx3037622xx"></a><img height="16px" width="16px" align="top" src="/script/Forums/Images/msg_question.gif" alt="Question" /></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="3037622" parent="0" thread="3037622" href="/Messages/3037622/Where-are-the-Referenced-Assemblies.aspx">Where are the Referenced Assemblies</a> <a onclick="return Pin(this);" href="#" title="Click to pin message"><img src="http://s.codeproject.com/script/Forums/Images/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px" /></a></td><td class="Frm_MsgIcon"><img border="0" src="http://s.codeproject.com/App_Themes/Std/Img/icn-member-16.gif" title="member" alt="member" height="16px" /></td><td class="Frm_MsgAuthor"><a href="/script/Membership/View.aspx?mid=53475">AllenR</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">7:05 12 May '09 &nbsp;</td>
							</tr>
						</table></td>
					</tr><tr id="F3037622_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td class="Frm_MsgIndent" style="width:16px;"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" height="1px" width="16px" alt="" /></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td colspan="2">In the project there are reference to WebExtreme assemblies. Where can these be found?? <img src="/script/Forums/Images/smiley_frown.gif" align="top" alt="Frown | :(" /> <br />
&nbsp;<br />
Seem like an interesting project otherwise.<br />
&nbsp;<br />
Ciao,<br />
AllenR<br /></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=3037622&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=r" title="Reply">Reply</a>·<a class="toolbar" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;tid=3037622" title="View&nbsp;Thread">View&nbsp;Thread</a>·<a class="toolbar" href="/Messages/3037622/Where-are-the-Referenced-Assemblies.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="/script/Bookmarks/Add.aspx?obid=3037622&amp;obtid=3&amp;action=AddBookmark&amp;bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,'/script/Bookmarks/Ajax/Add.aspx?obid=3037622&obtid=3&action=AddBookmark&bio=false',false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF3037622" style="white-space:nowrap;">2.00/5 (1 vote) <script type="text/javascript">
													MsgVFrm(53475,3037622,false,"","","");
												</script></span></td>
											</tr>
										</table></td>
									</tr>
								</table></td>
							</tr>
						</table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="1px" alt="" /></td>
					</tr><tr class="MsgHd LoVote HdUnSel " id="F3037651_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr class="hover-row">
								<td width="34px" class="Frm_MsgIndent"><a name="xx3037651xx"></a><img height="16px" width="16px" align="top" src="/script/Forums/Images/msg_answer.gif" alt="Answer" /></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="3037651" parent="3037622" thread="3037622" href="/Messages/3037651/Re-Where-are-the-Referenced-Assemblies.aspx">Re: Where are the Referenced Assemblies</a> <a onclick="return Pin(this);" href="#" title="Click to pin message"><img src="http://s.codeproject.com/script/Forums/Images/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px" /></a></td><td class="Frm_MsgIcon"><img border="0" src="http://s.codeproject.com/App_Themes/Std/Img/icn-member-16.gif" title="member" alt="member" height="16px" /></td><td class="Frm_MsgAuthor"><a href="/script/Membership/View.aspx?mid=4515995">rusevd</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">7:21 12 May '09 &nbsp;</td>
							</tr>
						</table></td>
					</tr><tr id="F3037651_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td class="Frm_MsgIndent" style="width:34px;"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" height="1px" width="34px" alt="" /></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td colspan="2">Hi, they can be found in the /bin/Release folder. You may also need to delete the post-build events from the project properties.<br /></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=3037651&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=r" title="Reply">Reply</a>·<a class="toolbar" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;tid=3037622" title="View&nbsp;Thread">View&nbsp;Thread</a>·<a class="toolbar" href="/Messages/3037651/Re-Where-are-the-Referenced-Assemblies.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="/script/Bookmarks/Add.aspx?obid=3037651&amp;obtid=3&amp;action=AddBookmark&amp;bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,'/script/Bookmarks/Ajax/Add.aspx?obid=3037651&obtid=3&action=AddBookmark&bio=false',false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF3037651" style="white-space:nowrap;">2.00/5 (1 vote) <script type="text/javascript">
													MsgVFrm(4515995,3037651,false,"","","");
												</script></span></td>
											</tr>
										</table></td>
									</tr>
								</table></td>
							</tr>
						</table></td>
					</tr><tr class="quick">
						<td class="msg-divide"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="1px" alt="" /></td>
					</tr><tr class="MsgHd LoVote HdUnSel " id="F3037934_h0">
						<td width="100%"><table class="quickHd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr class="hover-row">
								<td width="52px" class="Frm_MsgIndent"><a name="xx3037934xx"></a><img height="16px" width="16px" align="top" src="/script/Forums/Images/msg_general.gif" alt="General" /></td><td class="Frm_MsgSubject hover-container"><a class="message-link" name="3037934" parent="3037651" thread="3037622" href="/Messages/3037934/Re-Where-are-the-Referenced-Assemblies.aspx">Re: Where are the Referenced Assemblies</a> <a onclick="return Pin(this);" href="#" title="Click to pin message"><img src="http://s.codeproject.com/script/Forums/Images/pin.gif" border="0" align="top" alt="Pin" width="13px" height="12px" /></a></td><td class="Frm_MsgIcon"><img border="0" src="http://s.codeproject.com/App_Themes/Std/Img/icn-member-16.gif" title="member" alt="member" height="16px" /></td><td class="Frm_MsgAuthor"><a href="/script/Membership/View.aspx?mid=53475">AllenR</a></td><td class="Frm_MsgDate" style="vertical-align:top;white-space:nowrap;">9:49 12 May '09 &nbsp;</td>
							</tr>
						</table></td>
					</tr><tr id="F3037934_h1" style="display:none;">
						<td width="100%"><table class="quickBd" border="0" cellpadding="0" cellspacing="0" width="100%">
							<tr>
								<td class="Frm_MsgIndent" style="width:52px;"><img src="http://s.codeproject.com/script/Forums/Images/t.gif" height="1px" width="52px" alt="" /></td><td class="MsgBd BdSel "><table border="0" cellpadding="0" cellspacing="5px" width="100%">
									<tr>
										<td><table border="0" cellpadding="0" cellspacing="0" width="100%">
											<tr>
												<td colspan="2">Thanks a million, didn't look there. <img src="/script/Forums/Images/smiley_smile.gif" align="top" alt="Smile | :)" />   <img src="/script/Forums/Images/smiley_smile.gif" align="top" alt="Smile | :)" />   <img src="/script/Forums/Images/smiley_smile.gif" align="top" alt="Smile | :)" /> <br /></td>
											</tr><tr style="vertical-align:middle;">
												<td class="msg-footer"><a class="button-newmsg" href="/script/Forums/Edit.aspx?fid=1540446&amp;select=3037934&amp;floc=/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines&amp;action=r" title="Reply">Reply</a>·<a class="toolbar" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;tid=3037622" title="View&nbsp;Thread">View&nbsp;Thread</a>·<a class="toolbar" href="/Messages/3037934/Re-Where-are-the-Referenced-Assemblies.aspx" title="Get permanent link">Permalink</a>·<a class="toolbar" href="/script/Bookmarks/Add.aspx?obid=3037934&amp;obtid=3&amp;action=AddBookmark&amp;bio=false" title="Bookmark this post" onclick="return bookmarkMe(0,0,'/script/Bookmarks/Ajax/Add.aspx?obid=3037934&obtid=3&action=AddBookmark&bio=false',false, this, this);">Bookmark</a></td><td class="msg-footer" style="text-align:right;"><span id="MVF3037934" style="white-space:nowrap;">2.00/5 (1 vote) <script type="text/javascript">
													MsgVFrm(53475,3037934,false,"","","");
												</script></span></td>
											</tr>
										</table></td>
									</tr>
								</table></td>
							</tr>
						</table></td>
					</tr><tr>
						<td><img src="http://s.codeproject.com/script/Forums/Images/t.gif" border="0" width="1px" height="5px" alt="" /></td>
					</tr>
				</table></td>
			</tr><tr>
				<td><table width="100%" cellpadding="2px" cellspacing="0">
					<tr class="forum-footer">
						<td>Last Visit: 20:14 28 May '12  &nbsp; &nbsp; Last Update: 16:18 28 May '12 </td><td class="nav-link" style="text-align:right;white-space:nowrap;"><input id="_mbnUrl" type="hidden" value="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?fid=1540446&amp;fr=18" /><b>1</b></td>
					</tr>
				</table></td>
			</tr>
		</tr>
	</table>
</div><p class="small-text"><img align="top" src="/script/Forums/Images/msg_general.gif" width="16px" height="16px" alt="General" /> General &nbsp;&nbsp; <img align="top" src="/script/Forums/Images/msg_news.gif" width="16px" height="16px" alt="News" /> News &nbsp;&nbsp; <img align="top" src="/script/Forums/Images/msg_idea.gif" width="16px" height="16px" alt="Suggestion" /> Suggestion &nbsp;&nbsp; <img align="top" src="/script/Forums/Images/msg_question.gif" width="16px" height="16px" alt="Question" /> Question &nbsp;&nbsp; <img align="top" src="/script/Forums/Images/msg_bug.gif" width="16px" height="16px" alt="Bug" /> Bug &nbsp;&nbsp; <img align="top" src="/script/Forums/Images/msg_answer.gif" width="16px" height="16px" alt="Answer" /> Answer &nbsp;&nbsp; <img align="top" src="/script/Forums/Images/msg_joke.gif" width="16px" height="16px" alt="Joke" /> Joke &nbsp;&nbsp; <img align="top" src="/script/Forums/Images/msg_rant.gif" width="16px" height="16px" alt="Rant" /> Rant &nbsp;&nbsp; <img align="top" src="/script/Forums/Images/msg_admin.gif" width="16px" height="16px" alt="Admin" /> Admin &nbsp;&nbsp; </p><p class="small-text">Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.</p>

					
					<div class="theme1-background" style="height:2px"></div>

					<div class="extended tiny-text">
						<div class="row">
							<div class="float-left">
								<a id="ctl00_PermaLink" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines">Permalink</a> | 
								<a id="ctl00_AdvertiseLink" href="http://lakequincy.com/">Advertise </a> |
								<a id="ctl00_PrivacyLink" href="/info/privacy.aspx">Privacy</a> |
								<a id="ctl00_Mobile" rel="nofollow" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?display=Mobile">Mobile</a>
								<br />
								
								Web02 |
								2.5.120528.1 |
								Last Updated 8 May 2009								
							</div>
							<div class="float-right align-right">
								Article Copyright 2009 by rusevd<br />Everything else
								Copyright &copy; <a href="mailto:webmaster@codeproject.com">CodeProject</a>, 1999-2012 <br />
								<a id="ctl00_TermsOfUseLink" href="/info/TermsOfUse.aspx">Terms of Use</a>
							</div>

							


<div class="page-width">
Layout: <a id="ctl00_PageWidth_FixedT" title="Fixed width layout" rel="nofollow" class=" active" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?PageFlow=FixedWidth">fixed</a>
|
<a id="ctl00_PageWidth_FluidT" title="Fluid layout" rel="nofollow" href="/Articles/36268/Monitor-and-Manage-Services-on-Remote-Machines?PageFlow=Fluid">fluid</a>
</div>



						</div>
					</div>
					

				<br clear="all" />
		
				
				</div>

				<div id="ctl00_ContentSide" class="text-sidebar">
					

					

					

					
<div class="announce">

<div class="announce-content">

<div>Hot News: <a id="ctl00_News_News_ctl01_Link" href="http://www.neowin.net/news/windows-8-boots-too-quickly-first-world-os-problem">Windows 8 boots too quickly, first world OS problem</a></div>

The Code Project Insider. <a id="ctl00_News_News_ctl02_Subscribe" href="/Feature/Insider/">Free each morning.</a>
</div>
</div>

						
					<div style="width:160px;margin: 10px 0;">
						<div class="lqm_ad" lqm_publisher="lqm.codeproject.site"  lqm_zone="ros" lqm_format="160x600" lqm_tags='.NET2.0, C#, .NET, Visual-Studio, Dev, Intermediate,rating4.5'></div>
					</div>

					
	<div class="announce">
	<div id="ctl00_RelatedArticles_RelatedResults_ctl00_header" class="announce-header">Related Articles</div>
	<div class="announce-content">	
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl01_Link" class="title" href="/KB/cs/ServiceController.aspx">A ServiceController Class that Contains the Path to the Executable</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl02_Link" class="title" href="/KB/system/Svc_Controller_in_C_Sharp.aspx">Using the ServiceController in C# to stop and start a service</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl03_Link" class="title" href="/KB/system/extendservicecontroller.aspx">Extend ServiceController class to change the StartupType of Windows Services</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl04_Link" class="title" href="/Tips/243290/Manage-All-Windows-Services.aspx">Manage All Windows Services</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl05_Link" class="title" href="/KB/cs/HowTo_myServiceManager.aspx">How To Manage Windows Service Application on our Local Computer</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl06_Link" class="title" href="/KB/cs/svcmgr.aspx">Command Line Windows Services Manager</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl08_Link" class="title" href="/KB/cs/service_controller.aspx">Service Controller</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl09_Link" class="title" href="/KB/cs/winservicemanage.aspx">Windows Service Management</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl10_Link" class="title" href="/KB/cs/csservicecompcp.aspx">Windows Services information component</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl11_Link" class="title" href="/KB/webservices/Web_Method_To_Restart_NT.aspx">Create a Web Service Method to Manage a NT Service</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl12_Link" class="title" href="/KB/webservices/Web_Method_To_Get_NT_Serv.aspx">Create A Web Service Method to Get NT Service Information</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl13_Link" class="title" href="/KB/cs/Service_Manager.aspx">Service Manager</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl14_Link" class="title" href="/KB/system/ServiceDebug.aspx">How to Start and Debug a Windows Service with Visual Studio 2008</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl15_Link" class="title" href="/KB/system/Services.aspx">Using .NET 2.0 to Create a Windows Service</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl16_Link" class="title" href="/KB/install/csharpsvclesson2.aspx">Creating a C# Service Step-by-Step Lesson II</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl17_Link" class="title" href="/KB/IP/Chat_Application.aspx">Chat Application with Windows Services, .NET Remoting in C#</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl18_Link" class="title" href="/KB/system/Download_Limiter.aspx">Internet Download Limiter</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl19_Link" class="title" href="/KB/IP/HostingMultipleServices.aspx">Hosting multiple services in separate AppDomains</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl20_Link" class="title" href="/KB/dotnet/netdiagnostics3.aspx">.NET Diagnostics - III, Enumerate System Services and Dependencies Using C#</a>
		
	</div>
	
	<div class="container-related-item">
		<a id="ctl00_RelatedArticles_RelatedResults_ctl21_Link" class="title" href="/KB/cs/hoytsoft_servicebase.aspx">Self installing .NET service using the Win32 API</a>
		
	</div>
	
	</div>
	</div>
	


					

				</div>

			</div>
			

		</div>
		

	</div>
</div>


<div style="display:none;" id="lqm_AdTable">
	
</div>

<script type="text/javascript" language="Javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script><script type='text/javascript'>//<![CDATA[
if (typeof jQuery == 'undefined') {
    document.write(unescape("%3Cscript src='/script/JS/jquery-1.6.2.min.js' type='text/javascript' %3E%3C/script%3E"));
}//]]></script>
<script type="text/javascript" language="Javascript" src="http://s.codeproject.com/script/Articles/JS/article.min.js?dt=2.5.120528.1"></script>
<script type="text/javascript" language="Javascript" src="http://s.codeproject.com/script/JS/navbar.min.js?dt=2.5.120528.1"></script>
<script type="text/javascript" language="Javascript" src="/Script/JS/m.min.js?dt=2.5.120528.1"></script>
<script type="text/javascript" language="Javascript">//<![CDATA[
function markAllText(){
 markTextInElement('ServiceControl','contentdiv');
}
$(function(){markAllText()});
var socialLinks = new social();
socialLinks.PlaceholderId="ATD";socialLinks.ObjectId=36268;
socialLinks.ObjectTypeId=2;
socialLinks.addtoMethod=1;
socialLinks.Horizontal=false;
socialLinks.Showname=true;
socialLinks.setupLinks("socialLinks", escape(document.location.href),escape(document.title), 100, 0, "small-text Bold", "AddTo");
socialLinks.setupMenu();
$(document).ready(function() {   $('.alert-bar').slideDown('fast');   $('.alert-bar a.close-notify').click(function() {      $('.alert-bar').slideUp('fast');        return false;    });});
if($.LqmAds)$.LqmAds();
var oSrchFlt = false, oSrchBox=false,srchBoxFoc=false;
$(document).ready(function() {
 if(InitWatermark)InitWatermark('sb_tb', 'Search site');
 var sbar = $('#sb_tb'); 
 var sfilter = $('#SearchFilter');
 if (sbar && sfilter) {
  sfilter.removeClass('popup'); sfilter.hide();
  sbar.blur(function() { if (!oSrchFlt)sfilter.hide();srchBoxFoc=false; });
  sbar.focus(function() { oSrchFlt=false;srchBoxFoc=true;sfilter.show(); });
  sbar.mouseleave(function() { oSrchBox=false; });
  sbar.mouseover(function() { oSrchBox=true; });
  sfilter.mouseleave(function() { oSrchFlt=false; if (!srchBoxFoc&&!oSrchBox)sfilter.hide();});
  sfilter.mouseover(function() { oSrchFlt=true; });
 }
});
$(document).ready(function() { anchorAnimate(); });
var reportingMemberId = 8126139;
$("#ctl00_RateArticle_RateItemWrapper").removeClass("container-rating");$('#clear-rate_ctl00_RateArticle_RCD').click(function () { $('#ctl00_RateArticle_RCD').hide(); return false;});
function PostBack_ctl00_RateArticle_RateItemWrapper() {
  return rateItem(36268,2,1,true,true,3);
}
function ChkRtctl00_RateArticle(val, objId) {if (val<=3||true) {
$('div[name=RateItem_' + objId + '] .rating-comment').css("display","");}
else $('div[name=RateItem_' + objId + '] .rating-comment').css("display","none");}


//]]>
</script>

</body>
</html>
